On 22. juni 2017 17:15, Anfield wrote:
> I dont follow. Its not a file though, its a directory. Both are
> directories..
Brian wrote about the error messages.
fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd":
"/etc/ansible/facts.d/stuff.fact", "failed": true, "msg": "[Errno 8]
Exec format error", "rc": 8}
The file "/etc/ansible/facts.d/stuff.fact" has the execution bit set but
is not a valid script.
When does files has the execution bit set Ansible will try to execute
them. Remove the bit and Ansible will read the content.
--
Kai Stian Olstad