# Basic help with roles and tasks

**URL:** <https://forum.ansible.com/t/basic-help-with-roles-and-tasks/35642>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 19, 2021, 5:22pm UTC](https://forum.ansible.com/t/basic-help-with-roles-and-tasks/35642 "2021-08-19T17:22:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenW](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@StephenW](https://forum.ansible.com/u/StephenW)\
**Post date:** [August 19, 2021, 5:22pm UTC](https://forum.ansible.com/t/basic-help-with-roles-and-tasks/35642/1 "2021-08-19T17:22:29Z")

</div>

I’m attempting to using AWX to deploy some playbooks using Roles.

I’ve got a Project (‘webservers.git’) which I’m applying to an Inventory and it’s deploying the tasks held within it. But I want to migrate some of the tasks into a separate repository and reference them when needed using roles as they are pretty generic.

I’ve tried to RTFM, but I must be dim.

In my ‘webservers.git/roles/requirements.yml’ file I’ve got this. From the logs I can see this referenced ‘parent-roles.git’ is successfully being downloaded when the ‘webservers.git’ Project is synced (but not doing anything with it when it’s run against the Inventory).

---

<div class="post-metadata">

**Author:** ![Bill\_Biker](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bill_biker/32/8087_2.png) [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Post date:** [August 23, 2021, 11:25pm UTC](https://forum.ansible.com/t/basic-help-with-roles-and-tasks/35642/2 "2021-08-23T23:25:29Z")

</div>

I do not know if you did this or know this, but to install a role in AWX you need to log in to the awx\_task container and install it there.
