# Accessing variables defined in group\_vars/all from local mode

**URL:** <https://forum.ansible.com/t/accessing-variables-defined-in-group-vars-all-from-local-mode/18607>\
**Category:** Ansible Project\
**Created:** [June 25, 2015, 2:34pm UTC](https://forum.ansible.com/t/accessing-variables-defined-in-group-vars-all-from-local-mode/18607 "2015-06-25T14:34:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KN1](https://avatars.discourse-cdn.com/v4/letter/k/96bed5/32.png) [@KN1](https://forum.ansible.com/u/KN1)\
**Post date:** [June 25, 2015, 2:34pm UTC](https://forum.ansible.com/t/accessing-variables-defined-in-group-vars-all-from-local-mode/18607/1 "2015-06-25T14:34:55Z")

</div>

Hello all,

I’m unable to access the value of a variable defined in “group\_vars/all” in a simple `local.yml’ playbook.

I have described my directory layout and the contents of the YAML files in detail here:

[http://stackoverflow.com/questions/31053090/ansible-local-mode-does-not-pick-up-variables-from-all](http://stackoverflow.com/questions/31053090/ansible-local-mode-does-not-pick-up-variables-from-all)

Any help is greatly appreciated.

Regards,

KN
