Hi,
I'm able to run Ansible on AWS using ec2.py successfully but unfortunately I get the public DNS of the instance instead of the Name tag :
ansible -i plugins/inventory/ec2.py "tag_Environment_prod" -m shell -a "uptime"
Filesystem Size Used Avail Use% Mounted on
/dev/xvde1 7.9G 6.4G 1.2G 85% /
tmpfs 296M 0 296M 0% /dev/shm
/dev/xvdj 99G 973M 93G 2% /srv
Regards,
Nicolas.