# variable uniqueness group\_vars

**URL:** <https://forum.ansible.com/t/variable-uniqueness-group-vars/20667>\
**Category:** Ansible Project\
**Created:** [February 24, 2016, 3:52pm UTC](https://forum.ansible.com/t/variable-uniqueness-group-vars/20667 "2016-02-24T15:52:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Watrous](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Daniel\_Watrous](https://forum.ansible.com/u/Daniel_Watrous)\
**Post date:** [February 24, 2016, 3:52pm UTC](https://forum.ansible.com/t/variable-uniqueness-group-vars/20667/1 "2016-02-24T15:52:40Z")

</div>

I have the following

hosts file [https://gist.github.com/anonymous/6c3e001ad76208b21296](https://gist.github.com/anonymous/6c3e001ad76208b21296)  
playbook [https://gist.github.com/anonymous/012130d10b10838dc03b](https://gist.github.com/anonymous/012130d10b10838dc03b)

My server groups align with roles and I have some overlapping concepts, like a **server\_name**. When I run my playbook, the value for **server\_name** defined in the bottle group is being used in the wordpress group.

Is it possible to have variable names overlap when defined in the hosts file, like I have done?

My next question would be whether I can have overlapping names when using the group\_vars folder, as here [http://docs.ansible.com/ansible/intro\_inventory.html#groups-of-groups-and-group-variables](http://docs.ansible.com/ansible/intro_inventory.html#groups-of-groups-and-group-variables)

Thanks,  
Daniel
