# host\_vars group\_vars ansible

**URL:** <https://forum.ansible.com/t/host-vars-group-vars-ansible/11780>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 10, 2012, 12:14am UTC](https://forum.ansible.com/t/host-vars-group-vars-ansible/11780 "2012-08-10T00:14:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [August 10, 2012, 12:14am UTC](https://forum.ansible.com/t/host-vars-group-vars-ansible/11780/1 "2012-08-10T00:14:27Z")

</div>

Nope, but it was done by extending the vars\_files logic, and that is  
playbook specific.

If someone wants to try to make it work for both, without breaking the  
way vars\_files precedence works now, be my guest.

I think it would involve checking in Runner code:

if not self.is\_playbook:  
&nbsp;&nbsp;&nbsp;&nbsp;# make some calls to load things
