I cannot get anything in host_vars to load when running a playbook.  I am 
using Ansible 1.4.3.  What am I doing wrong?




~/test.yml
---
-hosts: test
 tasks:
    - name: debug
      debug: var={{ foo }}

/etc/ansible/hosts
[test]
10.1.0.241




/etc/ansible/host_vars/test
---
foo: bar


or


~/host_vars/test
---
foo: baz


-- 
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/9fe7e8ae-8621-4cbe-84c7-3e7e67303c87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to