# Ansible organization

**URL:** <https://forum.ansible.com/t/ansible-organization/16014>\
**Category:** Ansible Project\
**Created:** [August 22, 2014, 1:56pm UTC](https://forum.ansible.com/t/ansible-organization/16014 "2014-08-22T13:56:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zorggy01](https://avatars.discourse-cdn.com/v4/letter/z/76d3ee/32.png) [@zorggy01](https://forum.ansible.com/u/zorggy01)\
**Post date:** [August 22, 2014, 1:56pm UTC](https://forum.ansible.com/t/ansible-organization/16014/1 "2014-08-22T13:56:23Z")

</div>

Hello Ansible people,

How is it possible to set specific data while applying a role (or a playbook) to a host? Or another way to say, may I apply a general role or play on several hosts but with special data for each?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Michael\_Peters](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Post date:** [August 22, 2014, 4:56pm UTC](https://forum.ansible.com/t/ansible-organization/16014/2 "2014-08-22T16:56:36Z")

</div>

This is what host\_vars are for. You can set them as part of your  
inventory file (or dynamic inventories can set them too) or you can  
have host\_vars files which data for each (similar to group\_vars).

See [http://docs.ansible.com/playbooks\_variables.html](http://docs.ansible.com/playbooks_variables.html) and  
[http://docs.ansible.com/intro\_inventory.html](http://docs.ansible.com/intro_inventory.html)
