On 1/27/14, 2:01 PM, Ed Zarecor wrote:
Running

ubuntu@ip-10-0-x-x:~$ ansible -i inventory.ini localhost -m setup -c
local | grep ansible_host

returns

"ansible_hostname": "ip-10-0-200-247",

Has something changed or are we using the wrong approach here?

Since ansible_hostname is a fact that comes out of setup, are you positive that gather_facts: is happening in your playbook?

You are dealing with localhost it seems, and with 1.4 there is some new magic around localhost and inventories, which may lead to setup not exactly running there.

Is localhost explicitly in your inventory?


-jlk

--
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to