# Adding "all" to group\_vars examples in ansible documentation

**URL:** <https://forum.ansible.com/t/adding-all-to-group-vars-examples-in-ansible-documentation/12611>\
**Category:** Ansible Project\
**Created:** [April 1, 2013, 6:34am UTC](https://forum.ansible.com/t/adding-all-to-group-vars-examples-in-ansible-documentation/12611 "2013-04-01T06:34:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaime\_Gago1](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jaime\_Gago1](https://forum.ansible.com/u/Jaime_Gago1)\
**Post date:** [April 1, 2013, 6:34am UTC](https://forum.ansible.com/t/adding-all-to-group-vars-examples-in-ansible-documentation/12611/1 "2013-04-01T06:34:37Z")

</div>

If I may, in the doc about group\_vars (1) the "all" option to have vars for all hosts is not referenced, I understand from the non-newbie perspective this is quite implicit, from the newbie perspective though it didn't strike me and it's only when looking at the LAMP simple playbook (2) that I got the "all" file trick.  
Thus I'm thinking a couple lines about the group\_vars/all file option in the "Splitting Out Host and Group Specific Data" could be useful.

My 2cts.

J.

(1)[http://ansible.cc/docs/patterns.html#groups-of-groups-and-group-variables](http://ansible.cc/docs/patterns.html#groups-of-groups-and-group-variables)  
(2)[https://github.com/ansible/ansible-examples/blob/master/lamp\_simple/group\_vars/all](https://github.com/ansible/ansible-examples/blob/master/lamp_simple/group_vars/all)

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [April 1, 2013, 12:53pm UTC](https://forum.ansible.com/t/adding-all-to-group-vars-examples-in-ansible-documentation/12611/2 "2013-04-01T12:53:26Z")

</div>

It is mentioned a bit in the variable precedence sections, but I  
agree, that's not obvious enough and should call it out in a few more  
places as a place to put in defaults.

We're starting a technical FAQ and will make sure we also highlight it  
there too.
