Stop posting non-facter facts

No idea if these are breaking things, but maybe they are.

Change-Id: Id9492d901439407a9ffe9976be1fc26afc035b45
This commit is contained in:
Monty Taylor 2016-02-24 10:39:47 -06:00
parent 36916f8622
commit 42c28a7456
1 changed files with 0 additions and 5 deletions

View File

@ -92,11 +92,6 @@ def main():
for k, v in p['hostvars'].items():
if k.startswith('facter_'):
facts[k[7:]] = v
for k, v in p['hostvars'].items():
if not k.startswith('facter_'):
# Go ahead and set the non-facter facts that ansible has gathered
# too - but let facter facts with the same name win
facts.setdefault(k, v)
# remove some problematic facts from facts (if they exist)
# files can be a long list of files in a directory