mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #612 from jhoekx/fix-custom-facts
Fix typo while handling custom facts.
This commit is contained in:
commit
2377152d4c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue