On 11. nov. 2016 23:52, anirudh vasudevan wrote:
No what I meant was how can you make ansible talk to a target host without
ansible host file not hard coding with the ip address, am newbie to
ansible. Apologizes if this seems straightforward.

Yes, that was what i tried to say.
You don't have to use the IP in the inventory file, you can use the hostname, Ansible do use DNS to do lookup.

If that do not answer your question you need to provide us with a lot more information about you setup.

--
Kai Stian Olstad

--
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/5743b190-963b-dd25-cb8a-fcc751e7865f%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to