Merge pull request #11236 from sirkubax/patch-1

comment to ec2.ini inventory instances grouping
This commit is contained in:
Brian Coca 2015-06-11 09:30:30 -04:00
commit 47aeff1636

View file

@ -35,6 +35,9 @@ destination_variable = public_dns_name
# private subnet, this should be set to 'private_ip_address', and Ansible must # private subnet, this should be set to 'private_ip_address', and Ansible must
# be run from within EC2. The key of an EC2 tag may optionally be used; however # be run from within EC2. The key of an EC2 tag may optionally be used; however
# the boto instance variables hold precedence in the event of a collision. # the boto instance variables hold precedence in the event of a collision.
# WARNING: - instances that are in the private vpc, _without_ public ip address
# will not be listed in the inventory untill You set:
# vpc_destination_variable = 'private_ip_address'
vpc_destination_variable = ip_address vpc_destination_variable = ip_address
# To tag instances on EC2 with the resource records that point to them from # To tag instances on EC2 with the resource records that point to them from