On 23.10.2018 03:42, [email protected] wrote:
When I run the following command in the directory
ansible/contrib/inventory
ansible -i ec2.py all -m ping
and I got the following error:
[WARNING]: * Failed to parse
/Users/hehe/Projects/python/ansible/contrib/inventory/ec2.py with ini
plugin:
Ansible is trying to read the content instead of executing the script
because of missing execution bit.
So you need to set the execution bit on ec2.py to make it work.
--
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 [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/478e718d7f3479017e1a1a4466518bf0%40olstad.com.
For more options, visit https://groups.google.com/d/optout.