no, indeed it worked as I had hoped, and as Roger and Brian spoke of. By
using
[servers]
name ansible_ssh_host=xx.xx.xx.xx
it worked just fine. Ran into some other problems, but that's a different
post
regards, Richard
On Wednesday, November 25, 2015 at 11:45:25 AM UTC-5, richard kappler
Hi Richard,
I'm sure there's more than one way to skin a cat, here, but I set up my
hosts file thusly, and it does the job:
[rails]
rails0 ansible_ssh_host=xxx.xxx.xxx.xxx
rails1 ansible_ssh_host=xxx.xxx.xxx.xxx
rails2 ansible_ssh_host=xxx.xxx.xxx.xxx
I believe when doing this, you're just
inventory_hostname should always reflect the 'hostname alias' provided
by the inventory, if you ALWAYS want the IPs use ansible_ssh_host
(ansbile_host in 2.0 and above).
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To