Fix some issues with the setup cache

This commit is contained in:
Michael DeHaan 2012-07-20 11:58:08 -04:00
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', {}))
# *****************************************************