Fix typo while handling custom facts.

This fixes #611.
This commit is contained in:
Jeroen Hoekx 2012-07-18 11:50:34 +02:00
parent 3c2cbae68e
commit f1b1611956

View file

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