mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-11 11:21:05 +00:00
Revert "Populate module_setup from the setup module rather than special code elsewhere"
This reverts commit 58eec2e4c2.
This commit is contained in:
@@ -529,6 +529,7 @@ class PlayBook(object):
|
||||
# let runner template out future commands
|
||||
setup_ok = setup_results.get('contacted', {})
|
||||
for (host, result) in setup_ok.iteritems():
|
||||
self.SETUP_CACHE[host].update({'module_setup': True})
|
||||
self.SETUP_CACHE[host].update(result.get('ansible_facts', {}))
|
||||
return setup_results
|
||||
|
||||
|
||||
Reference in New Issue
Block a user