Re: [ansible-project] [fetch] hostname in tree instead of IP?

7 views
Skip to first unread message

James Cammarata

unread,
Oct 23, 2014, 12:50:11 PM10/23/14
to ansible...@googlegroups.com
Please see the response in the other thread.

Thanks!

On Tue, Oct 21, 2014 at 1:21 PM, Michael Warkentin <mwark...@gmail.com> wrote:
Hello, I was wondering if there's any way to use the hostname of a server rather than it's IP to generate the file system tree when using the fetch module?

Our ansible inventories are set up like so:

aqua-notif-wrkr-01 ansible_ssh_host=12.34.56.789


Would setting up /etc/hosts to map hostnames to IPs work, or are we stuck with this?

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7e5f9265-6b6d-485b-b428-84a1ca6eaf8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages