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: /Users/hehe/Projects/python/ansible/contrib/inventory/ec2.py:3: 
Error parsing host
definition ''''': No closing quotation

 [WARNING]: Unable to parse 
/Users/hehe/Projects/python/ansible/contrib/inventory/ec2.py as an
inventory source

 [WARNING]: No inventory was parsed, only implicit localhost is available

 [WARNING]: provided hosts list is empty, only localhost is available. Note 
that the implicit localhost does not match 'all'


My OS is MacOS and ansible version is 2.6.1. Did something or 
configurations be lost?

-- 
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/95636ab4-bf0a-4e6c-b2ce-9ca4c7a02cfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to