# How to add roles to awx with SCM(bitbucket)

**URL:** <https://forum.ansible.com/t/how-to-add-roles-to-awx-with-scm-bitbucket/32789>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [April 27, 2020, 11:20am UTC](https://forum.ansible.com/t/how-to-add-roles-to-awx-with-scm-bitbucket/32789 "2020-04-27T11:20:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selvam\_Elangovan](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Post date:** [April 27, 2020, 11:20am UTC](https://forum.ansible.com/t/how-to-add-roles-to-awx-with-scm-bitbucket/32789/1 "2020-04-27T11:20:24Z")

</div>

Hi!

I am looking for adding ansible roles to awx using scm(bitbucket). I could not find the clear information in ansible tower doc. They requested to use requirements.yml. I am not sure how to use it with Awx running in kubernetes.

Kindly share details.

Thanks & Regards,  
Selvam E.

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [April 27, 2020, 11:28am UTC](https://forum.ansible.com/t/how-to-add-roles-to-awx-with-scm-bitbucket/32789/2 "2020-04-27T11:28:18Z")

</div>

Its no different then doing this in the link.

[https://docs.ansible.com/ansible/latest/galaxy/user\_guide.html#installing-multiple-roles-from-a-file](https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-multiple-roles-from-a-file)

Create a requirement.yml file under your roles dir in your project.

Follow the syntax that is in the link.

I hope that it helps you.

---

<div class="post-metadata">

**Author:** ![Selvam\_Elangovan](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Post date:** [April 28, 2020, 11:18am UTC](https://forum.ansible.com/t/how-to-add-roles-to-awx-with-scm-bitbucket/32789/3 "2020-04-28T11:18:38Z")

</div>

Thanks! it works perfectly.

Thanks & Regards,  
Selvam E.
