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

Update setup module signature from merge commit.

This commit is contained in:
Michael DeHaan 2014-03-16 14:11:27 -04:00
parent 26efc7ace8
commit eef5a8a847

View file

@ -2306,7 +2306,7 @@ def ansible_facts(module):
def run_setup(module):
setup_options = dict(module_setup=True)
facts = ansible_facts()
facts = ansible_facts(module)
for (k, v) in facts.items():
setup_options["ansible_%s" % k.replace('-', '_')] = v