# Included playbooks able to access variables defined in "vars" but not from "vars\_files"

**URL:** <https://forum.ansible.com/t/included-playbooks-able-to-access-variables-defined-in-vars-but-not-from-vars-files/15219>\
**Category:** Ansible Project\
**Created:** [May 13, 2014, 6:38am UTC](https://forum.ansible.com/t/included-playbooks-able-to-access-variables-defined-in-vars-but-not-from-vars-files/15219 "2014-05-13T06:38:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manu\_J](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@Manu\_J](https://forum.ansible.com/u/Manu_J)\
**Post date:** [May 13, 2014, 6:38am UTC](https://forum.ansible.com/t/included-playbooks-able-to-access-variables-defined-in-vars-but-not-from-vars-files/15219/1 "2014-05-13T06:38:37Z")

</div>

Variables defined in vars is available to included playbooks but variables included via vars\_files is not.

Files to reproduce - [https://github.com/j-manu/debug/tree/master/ansible](https://github.com/j-manu/debug/tree/master/ansible)

Run command “ansible-playbook -i inventory site.yml”
