# AAP not pulling in role

**URL:** <https://forum.ansible.com/t/aap-not-pulling-in-role/9634>\
**Category:** Get Help\
**Tags:** aap, awx, howto, galaxy-ng\
**Created:** [October 2, 2024, 11:07am UTC](https://forum.ansible.com/t/aap-not-pulling-in-role/9634 "2024-10-02T11:07:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsexton18](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dsexton18/32/4952_2.png) [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Post date:** [October 2, 2024, 11:07am UTC](https://forum.ansible.com/t/aap-not-pulling-in-role/9634/1 "2024-10-02T11:07:46Z")

</div>

I have in project\_a with 3 to 4 roles and site.yml file. in the site.yml file I added a role I will call roled. roled is located in a different git project.

I created a requirments.yml and placed it in the roles directory of project\_a  
below is an example of my requirements.yml file

- name: roled  
src: [https://example.com/projectb/roled](https://example.com/projectb/roled)  
version: main

AAP is not finding the role. I am able to run ansible-galaxy install -r roles/requirments.yml and the role is installed, and I can run all the roles by using site.yml file

What am I missing. I don’t currently have the code informant of me but hopefully the above provides as an example for illustration purposes.

---

<div class="post-metadata">

**Author:** ![jiholland](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jiholland/32/11273_2.png) [@jiholland](https://forum.ansible.com/u/jiholland)\
**Post date:** [October 2, 2024, 2:52pm UTC](https://forum.ansible.com/t/aap-not-pulling-in-role/9634/2 "2024-10-02T14:52:42Z")

</div>

Hi.  
It could perhaps be this:

“You must select **Update Revision on Launch** in the project **Options** to ensure that the upstream role is re-downloaded before each job run.”

> **[Using automation execution | Red Hat Product Documentation](https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html-single/using_automation_execution/index#ref-projects-galaxy-support)**
>
> Using automation execution | Red Hat Documentation

---

<div class="post-metadata">

**Author:** ![dsexton18](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dsexton18/32/4952_2.png) [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Post date:** [October 4, 2024, 10:00am UTC](https://forum.ansible.com/t/aap-not-pulling-in-role/9634/3 "2024-10-04T10:00:17Z")

</div>

Thanks for the suggestion I had update revision on launch enabled. Turns out I had a typo in the name of the requirements.yml file.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [November 3, 2024, 10:00am UTC](https://forum.ansible.com/t/aap-not-pulling-in-role/9634/4 "2024-11-03T10:00:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
