How to retrieve EC2 internal IP using Tags?

15 views
Skip to first unread message

Pradeep Bhadani

unread,
Feb 2, 2015, 12:17:13 PM2/2/15
to ansible...@googlegroups.com

Hey ,

I want to retrieve internal IP / hostname of EC2 machine which hase some tags.
How can i retrieve based on tags?

I was reading this : docs.ansible.com/intro_dynamic_inventory.html#example-aws-ec2-external-inventory-script./ , but this requires "host" argument , which i do not want to use.


Thanks,
Pradeep
Reply all
Reply to author
Forward
0 new messages