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

--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c9ad02c9-7cb4-474c-b177-2be176fa181d%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to