Please see the response in the other thread.

Thanks!

On Tue, Oct 21, 2014 at 1:21 PM, Michael Warkentin <[email protected]>
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
>
> This ends up generating a tree like this:
> https://s3.amazonaws.com/snaps.michaelwarkentin.com/generate_server_list.py__waveapps_2014-10-21_16-17-17.png
>
> 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 [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/7e5f9265-6b6d-485b-b428-84a1ca6eaf8c%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/7e5f9265-6b6d-485b-b428-84a1ca6eaf8c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFjVeBoF%2BKBe1cOuJZTkdB64qHQs5fHgx04Jckx0Ug4GQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to