# /var/lib/awx/projects/collection/requirements.yml not processed

**URL:** <https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 8, 2021, 6:41pm UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312 "2021-06-08T18:41:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![L\_Jankok](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@L\_Jankok](https://forum.ansible.com/u/L_Jankok)\
**Post date:** [June 8, 2021, 6:41pm UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312/1 "2021-06-08T18:41:32Z")

</div>

I am trying awx today. I moved a playbook which runs fine on Ansible core.  
This playbook is dependant on the cisco.ios module. From what I have read I have to have a /var/lib/awx/projects/collection/requirements.yml file with the following content;

---

<div class="post-metadata">

**Author:** ![L\_Jankok](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@L\_Jankok](https://forum.ansible.com/u/L_Jankok)\
**Post date:** [June 8, 2021, 6:44pm UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312/2 "2021-06-08T18:44:57Z")

</div>

I did a small type, the filename I am using is /var/lib/awx/projects/collections/requirements.yml  
So, not in the directory collection but in the directory collections

---

<div class="post-metadata">

**Author:** ![Thiago\_Castro](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@Thiago\_Castro](https://forum.ansible.com/u/Thiago_Castro)\
**Post date:** [June 8, 2021, 7:15pm UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312/3 "2021-06-08T19:15:23Z")

</div>

Make sure your organization on AWX have a Galaxy Credential configured. (Organizations → Edit → Galaxy Credentials). The same organization have to be configured on your project.

Update your project and see if they will download your dependencies.

Example:

TASK [fetch galaxy collections from collections/requirements.(yml/yaml)] \*\*\*\*\*\*\*changed: [localhost] =\>

Starting galaxy collection install process  
Process install dependency map  
Starting collection install process  
Downloading [https://galaxy.ansible.com/download/ansible-posix-1.2.0.tar.gz](https://galaxy.ansible.com/download/ansible-posix-1.2.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/_104\_\_proteus/stage/tmp/ansible-local-1761740nltrmb/tmpxusz\_if_/ansible-posix-1.2.0-j0dnt50s  
Installing 'ansible.posix:1.2.0' to '/var/lib/awx/projects/.\_\_awx\_cache/\_104\_\_proteus/stage/requirements\_collections/ansible\_collections/ansible/posix'  
ansible.posix:1.2.0 was installed successfully  
Downloading [https://galaxy.ansible.com/download/community-general-3.2.0.tar.gz](https://galaxy.ansible.com/download/community-general-3.2.0.tar.gz) to /var/lib/awx/projects/.\_\_awx\_cache/_104\_\_proteus/stage/tmp/ansible-local-1761740nltrmb/tmpxusz\_if_/community-general-3.2.0-kpf8txcm  
Installing 'community.general:3.2.0' to '/var/lib/awx/projects/.\_\_awx\_cache/\_104\_\_proteus/stage/requirements\_collections/ansible\_collections/community/general'  
community.general:3.2.0 was installed successfully

---

<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:** [June 8, 2021, 9:09pm UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312/4 "2021-06-08T21:09:14Z")

</div>

In your playbook and in the play use

collections:

- cisco-ios

---

<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:** [June 8, 2021, 9:09pm UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312/5 "2021-06-08T21:09:53Z")

</div>

Sorry about the bullet point. It’s suppose to - outlook mobile playing up

---

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [September 30, 2021, 12:55am UTC](https://forum.ansible.com/t/var-lib-awx-projects-collection-requirements-yml-not-processed/35312/6 "2021-09-30T00:55:22Z")

</div>

I was pulling my hair as none of the approaches I tried were not pulling dependent modules/collections for F5 WAF integration. I was seeing a similar error as posted in this discussion for one of the F5 modules.

“ERROR! couldn’t resolve module/action ‘bigip\_monitor\_http’. This often indicates a misspelling, missing collection, or incorrect module path.”  
Started making progress to use Project level collections/requirements.yml after linking the default ‘Ansible Galaxy’ credentials created during AWX installation to the Organization used by the jobs and templates.  
I now see that F5 collections are being downloaded in the EE container during the job runs.  
The AWX Project level collections approach keeps it clean to avoid Dockerfile changes each time we need a new Ansible collection or module for any automation efforts.  
Thank you very much for the hint.
