Hi all, I am currently using dynamic inventory for AWS with ec2.py and .ini and I was wondering if there was a way to show the Name tag for my instances during the playbook run. Currently it appears with the private IP addresses:
TASK: [stoddard-client | Copy client config] ************************************* ok: [10.3.20.147] ok: [10.3.20.52] PLAY RECAP ******************************************************************** 10.3.20.147 : ok=9 changed=0 unreachable=0 failed=0 10.3.20.52 : ok=11 changed=1 unreachable=0 failed=0 Is there a way for this to display the tag_Name or at least the internal DNS names? I have the following settings in ec2.ini: destination_variable = private_ip_address vpc_destination_variable = private_ip_address I tried changing those to private_dns_name and tag_Name and doing a --refresh-cache but it still shows the ip. I am running my Ansible server inside a VPC. Which brings up another question does that cancel out the destination_variable setting? Thanks! -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cbd6da06-d20b-40d0-bedd-03ee78ec1f82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
