DEV Community

Roy
Roy

Posted on

ansible local facts

ansible local facts file should have .fact as file extension, not .json or .yml

If a remotely managed system has an /etc/ansible/facts.d directory, any files in this directory ending in .fact, can be JSON, INI, or executable files returning JSON, and these can supply local facts in Ansible.

Top comments (0)