This appears to be the PR where this functionality was added: 
https://github.com/ansible/ansible/pull/7395

On Saturday, March 9, 2019 at 1:57:35 PM UTC-8, senorsmile wrote:
>
> 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/821679ec-6ee3-4614-950e-e34b1ad08b59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to