+1 this would be awesome.  

On Monday, June 23, 2014 at 9:25:46 AM UTC-7, Hernandes Sousa wrote:
>
> Hi,
>
> I wanted to use the machine hostnames with ec2.py, which I was able to by 
> customizing the script to return the Name tag for the hostname instead of 
> the public or private dns name, however, that requires an extra step which 
> is maintaining a ~/.ssh/config with corresponding proper dns since I'm not 
> currently using fqdns as the hostnames (will do in the near future so this 
> will not actually be necessary). But in the meanwhile I'd like to be able 
> to do as in the static inventory:
>
> foo ansible_ssh_host=192.168.1.50
>
> Is it possible to do this with the dynamic inventory (have an alias for a 
> machine which is the name tag i already set but connect using public dns)?
>

-- 
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/371bf7e5-c8e7-445c-82a4-a7731b53b878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to