I haven't used Ansible with AWS for a while.  

I am using it on a new project.  I see a newer option that didn't used to 
be there: 

hostname_variable = tag_Name

My understanding of this variable is that it will use the Name tag to name 
the host, while still using the i.p. address as the value of the 
ansible_host key.  

E.g. 

TASK [Get uptime] ***************************************
ok: [host01]

instead of

TASK [Get uptime] ***************************************
ok: [1.2.3.4]


However, setting that value in ec2.ini doesn't appear to work (as I'd 
expect).  Am I misunderstanding this, or possibly just doing something 
wrong?

-- 
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/515ccef9-d684-405a-9760-b359bf274eed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to