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

Revert "Populate module_setup from the setup module rather than special code elsewhere"

This reverts commit 58eec2e4c2.
This commit is contained in:
Michael DeHaan 2014-03-16 14:10:57 -04:00
parent a9896afc66
commit 26efc7ace8

View file

@ -529,6 +529,7 @@ class PlayBook(object):
# let runner template out future commands # let runner template out future commands
setup_ok = setup_results.get('contacted', {}) setup_ok = setup_results.get('contacted', {})
for (host, result) in setup_ok.iteritems(): for (host, result) in setup_ok.iteritems():
self.SETUP_CACHE[host].update({'module_setup': True})
self.SETUP_CACHE[host].update(result.get('ansible_facts', {})) self.SETUP_CACHE[host].update(result.get('ansible_facts', {}))
return setup_results return setup_results