iirc you also need the json interface to facter installed for ansible to be able to use it. it also looks for it in certain locations so non standard installs tend to ‘fool’ it.
Do you mean, on the client (managed device) or the ansible machine?
Also, is this a python module or an operating system package? (both .deb and .rpm systems are involved.)
Thanks,
Ed G
The json requirement is explained a little bit in It could be installed via a binary package or installed via pip. If trying to install with ansible, you’ll have to use the raw module. It’s unclear to me if that is the root cause of your missing facts though.
@Ed, actually ruby and facter must support json for ansible to be able to use facter, so which ever way you installed facter you should check that both it and ruby have json support.