# \[ansible\] Variables from var files are not properly expanded (#9621)

**URL:** <https://forum.ansible.com/t/ansible-variables-from-var-files-are-not-properly-expanded-9621/16892>\
**Category:** Ansible Project\
**Created:** [November 26, 2014, 12:01pm UTC](https://forum.ansible.com/t/ansible-variables-from-var-files-are-not-properly-expanded-9621/16892 "2014-11-26T12:01:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Till\_Maas](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@Till\_Maas](https://forum.ansible.com/u/Till_Maas)\
**Post date:** [November 26, 2014, 12:01pm UTC](https://forum.ansible.com/t/ansible-variables-from-var-files-are-not-properly-expanded-9621/16892/1 "2014-11-26T12:01:09Z")

</div>

Hi,

this is a followup to  
[https://github.com/ansible/ansible/issues/9621#issuecomment-64452216](https://github.com/ansible/ansible/issues/9621#issuecomment-64452216)

---

<div class="post-metadata">

**Author:** ![Till\_Maas](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@Till\_Maas](https://forum.ansible.com/u/Till_Maas)\
**Post date:** [December 1, 2014, 9:55am UTC](https://forum.ansible.com/t/ansible-variables-from-var-files-are-not-properly-expanded-9621/16892/2 "2014-12-01T09:55:01Z")

</div>

Is there some information missing to answer this? I do not find any  
information about how to do this better.

[http://docs.ansible.com/playbooks\_best\_practices.html](http://docs.ansible.com/playbooks_best_practices.html)  
mentions handlers only for roles and I did not find any reference about  
how ansible discovers handlers if there is no role. I remember that  
without setting full paths, there were problems when I started using  
ansible making it not find some files depending on the current working  
directory.

Regards  
Till

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [December 1, 2014, 10:27pm UTC](https://forum.ansible.com/t/ansible-variables-from-var-files-are-not-properly-expanded-9621/16892/3 "2014-12-01T22:27:39Z")

</div>

Hi Tyll, I’ve reopened the issue and will look into it.

Thanks!
