# include\_role

**URL:** <https://forum.ansible.com/t/include-role/22401>\
**Category:** Ansible Project\
**Created:** [August 26, 2016, 6:01pm UTC](https://forum.ansible.com/t/include-role/22401 "2016-08-26T18:01:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [August 26, 2016, 6:01pm UTC](https://forum.ansible.com/t/include-role/22401/1 "2016-08-26T18:01:09Z")

</div>

So hoping to get this ironed out for the 2.2 release, I’ve merged `include_role` into devel which now allows you to use ‘roles as tasks’.

I know this is a feature many of you are eager to play with, so I thought we should push it out ASAP to get early feedback and breakage.

The basic stuff is now working, it needs A LOT of testing and we will probably tweak it’s behavior before release.

This is NOT production ready and might have unforeseen side effects.

​PR (merged) is:​  
[https://github.com/ansible/ansible/pull/17232](https://github.com/ansible/ansible/pull/17232)

For docs use `ansible-doc include_role` or browse:​

[https://github.com/ansible/ansible-modules-core/blob/devel/utilities/logic/include\_role.py](https://github.com/ansible/ansible-modules-core/blob/devel/utilities/logic/include_role.py)

​I’ll keep the module docs updated with any changes in design or expected behavior.

F  
​or feedback just open issues as you normally would at  
[https://github.com/ansible/ansible](https://github.com/ansible/ansible).

​
