Merge pull request #612 from jhoekx/fix-custom-facts

Fix typo while handling custom facts.
pull/615/head
Michael DeHaan 13 years ago
commit 2377152d4c

@ -221,7 +221,7 @@ class PlayBook(object):
# add facts to the global setup cache # add facts to the global setup cache
for host, result in results['contacted'].iteritems(): for host, result in results['contacted'].iteritems():
facts = results.get('ansible_facts', {}) facts = result.get('ansible_facts', {})
self.SETUP_CACHE[host].update(facts) self.SETUP_CACHE[host].update(facts)
self.stats.compute(results) self.stats.compute(results)

Loading…
Cancel
Save