mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 01:33:09 +00:00
Fix some issues with the setup cache
This commit is contained in:
@@ -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', {}))
|
||||
|
||||
# *****************************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user