Not loading host_vars

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

`

Well, you’re using a terribly ancient version of Ansible, unrelated to your question.

Upgrade to 1.6.10 first, you’re missing some security fixes and numerous other upgrades.

What you have in the first “host_vars” should be fine, however.

I finally figured out what I was doing wrong and thought I would share. The host is 10.1.0.241, not “test” (that is the group name). My host_vars file should be /etc/ansible/host_vars/10.1.0.241. Once I corrected the file name, everything worked as expected.