diff --git a/system/setup b/system/setup index 71120b72dc2..ae03ad8d74d 100644 --- a/system/setup +++ b/system/setup @@ -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