Hi,
is it possible to specify another location for the facter binary when using 
the "facter" module?

>From this error message I gather that the module is relying on 
"/usr/bin/env" to find the facter binary:

# ansible xxxxxxxx -m facter
xxxxxxxx | FAILED >> {
    "cmd": "/usr/bin/env facter --json",
    "failed": true,
    "msg": "/usr/bin/env: facter: No such file or directory",
    "rc": 127,
    "stderr": "/usr/bin/env: facter: No such file or directory\n",
    "stdout": ""
}

We have our facter binary in "/opt/puppet/bin/facter" (which is also the 
normal location if using the PE Puppet stack).

Is it possible to either pass an alternate facter binary to the module? 
Or is it possible to pass a parameter to "/usr/bin/env" through the facter 
module?

Thanks for your help,
Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9039121f-1cd0-4726-a746-f60b81b62810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to