diff --git a/scripts/inventory/ec2.ini b/scripts/inventory/ec2.ini index d5e4742032e..675f6d74025 100644 --- a/scripts/inventory/ec2.ini +++ b/scripts/inventory/ec2.ini @@ -33,8 +33,8 @@ destination_variable = public_dns_name # This allows you to override the inventory_name with an ec2 variable, instead # of using the destination_variable above. Addressing (aka ansible_ssh_host) -# will still use destination_variable. Tags should be written as 'tag_TAGNAME'. -#hostname_variable = tag_Name +# will still use destination_variable. Tags should be written as 'tag:TAGNAME'. +#hostname_variable = tag:Name # For server inside a VPC, using DNS names may not make sense. When an instance # has 'subnet_id' set, this variable is used. If the subnet is public, setting