Just Noticed

29 views
Skip to first unread message

Vinit Khandagle

unread,
Jun 3, 2014, 9:21:01 AM6/3/14
to ansible...@googlegroups.com
Hi This is just bring to notice:
I was setting up ec2 dynamic inventory and I followed the instruction on the Docs.
I copied the ec2.py from the site and placed it as an inventory 

I did all the configuration right for boto and ec2.ini and ec2.py. But for some reasons I was not able to pull down the list. It was given no error for the ec2.py file as well.
I did a dos2unix conversion too.

Finally the only resolution was that I cloned the ansible repo and copied the ec2.py from from there. 

Also after installing ansible from pip.. the file does not get placed or present in plugin/inventory.

I am pretty sure I did not miss anything, But Just thought I will bring to the notice. The file in the git repo worked perfectly.

James Cammarata

unread,
Jun 3, 2014, 11:52:51 AM6/3/14
to ansible...@googlegroups.com
We don't include the inventory scripts in the distribution currently, so downloading the ec2.py from github is normally the way to do it (which is where the link in the docs points you). So I'm not sure why the version from the repo would be any different than when you cloned the repo.

Do you have the old copy? You could diff them to see what the difference may have been.


--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9f1f5071-43aa-4db5-a21f-dc7b52ef6477%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages