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:
parent
a9896afc66
commit
26efc7ace8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue