From 0f68db2d7ecf3a2ce8273665dfc4e86295b85a13 Mon Sep 17 00:00:00 2001 From: sirkubax Date: Thu, 11 Jun 2015 11:51:35 +0200 Subject: [PATCH] Update ec2.ini Warning about usage boto+ec2.ini --- plugins/inventory/ec2.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/inventory/ec2.ini b/plugins/inventory/ec2.ini index 1866f0bf3d6..6583160f0f7 100644 --- a/plugins/inventory/ec2.ini +++ b/plugins/inventory/ec2.ini @@ -35,6 +35,9 @@ destination_variable = public_dns_name # 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 # 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 # To tag instances on EC2 with the resource records that point to them from