Just Noticed

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.

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.