# Hierarchical roles?

**URL:** <https://forum.ansible.com/t/hierarchical-roles/15606>\
**Category:** Ansible Project\
**Created:** [July 4, 2014, 1:39am UTC](https://forum.ansible.com/t/hierarchical-roles/15606 "2014-07-04T01:39:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_A\_Carnero\_Del](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@Carlos\_A\_Carnero\_Del](https://forum.ansible.com/u/Carlos_A_Carnero_Del)\
**Post date:** [July 4, 2014, 1:39am UTC](https://forum.ansible.com/t/hierarchical-roles/15606/1 "2014-07-04T01:39:10Z")

</div>

Hi,

I've been experimenting with roles, so, following the documentation I  
have something like this

---

<div class="post-metadata">

**Author:** ![Serge\_van\_Ginderacht](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Post date:** [July 4, 2014, 8:18am UTC](https://forum.ansible.com/t/hierarchical-roles/15606/2 "2014-07-04T08:18:55Z")

</div>

​Not sure if documented or not, but, yes that just works.  
I see no reasons why that wouldn't be supported.​

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 4, 2014, 12:28pm UTC](https://forum.ansible.com/t/hierarchical-roles/15606/3 "2014-07-04T12:28:18Z")

</div>

You can put roles in subdirectories as long as that subdirectory is in the search path, yes.
