1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix some issues with the setup cache

This commit is contained in:
Michael DeHaan 2012-07-20 11:58:08 -04:00
parent dde11baa56
commit 2b6d8a8be5

View file

@ -262,7 +262,7 @@ class Runner(object):
''' allows discovered variables to be used in templates and action statements '''
host = conn.host
self.setup_cache[host] = result.get('ansible_facts', {})
self.setup_cache[host].update(result.get('ansible_facts', {}))
# *****************************************************