diff --git a/lib/ansible/modules/system/facter.py b/lib/ansible/modules/system/facter.py index 53b0cdbb571..829bbe4eee4 100644 --- a/lib/ansible/modules/system/facter.py +++ b/lib/ansible/modules/system/facter.py @@ -46,7 +46,7 @@ def main(): facter_path = module.get_bin_path('facter', opt_dirs=['/opt/puppetlabs/bin']) - cmd = [facter_path, "--puppet", "--json"] + cmd = [facter_path, "--json"] rc, out, err = module.run_command(cmd, check_rc=True) module.exit_json(**json.loads(out))