Have you posted all the warnings provided? If so, it looks like you've 
disabled the script plugin, which is necessary to parse the contrib 
scripts. Check your ansible.cfg [inventory] enable_plugins section and the 
ANSIBLE_INVENTORY_ENABLED environment var.

If you just left out some of the warnings, examine the one that starts with 
`[WARNING]:  * Failed to parse /path/to/ec2.py with script plugin:` to see 
what's wrong. You can debug with `ansible-inventory -i ec2.py --graph` and 
by running the script alone `python ec2.py`.

On Wednesday, October 24, 2018 at 8:02:21 AM UTC-4, [email protected] 
wrote:
>
> Hi Oriol, Can you give me some suggestions about this problems? Thanks in 
> advance.
>
> 在 2018年10月24日星期三 UTC+8下午5:15:09,Oriol Tauleria写道:
>>
>> Hi! 
>> Kai sorry for my confusion with the names.
>> I answering the OP (he requested more information again).
>> Sorry again!
>>
>>
>>
>> El mié., 24 oct. 2018 a las 9:43, Kai Stian Olstad (<
>> [email protected]>) escribió:
>>
>>> On 24.10.2018 09:22, Oriol Tauleria wrote:
>>> > Hi Kai,
>>> > 
>>> > Error origin:
>>> > The file you have downloaded is not marked as executable, so when you 
>>> > pass
>>> > as inventory file, Ansible tries to read (not to execute it).
>>>
>>> You need to read the whole thread, I'm not the one with the problem.
>>> I actually wrote the same solution that you write here to the OP.
>>>
>>> -- 
>>> 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/f2bc9ba73bf6340ee4c654345fdd395b%40olstad.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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/36ac74b3-fc15-43f0-96b4-f85f2f7be224%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to