Dynamic inventory doesn't include private EC2 instances

28 views
Skip to first unread message

Brenda Bell

unread,
Mar 22, 2015, 4:55:16 PM3/22/15
to ansible...@googlegroups.com
I've refreshed my cache using ec2.py --refresh-cache.

When I run ec2.py --list, it only lists the public instances. My AWS infrastructure has three public servers (one being a jump server) and several private ones. I was hoping to use static groups to be able to reference my servers by data (i.e., tag_type_data, tag_type_mgmt, etc.). But the dynamic inventory is incomplete.

Is there some configuration switch I need to set to see all of my instances?

WhileLoop

unread,
Mar 23, 2015, 9:49:18 AM3/23/15
to ansible...@googlegroups.com
Try setting 'vpc_destination_variable = private_ip_address' in ec2.ini
Reply all
Reply to author
Forward
0 new messages