Cannot install collection through requirements.yml file

558 views
Skip to first unread message

Hiero-nymo

unread,
Mar 3, 2022, 11:05:52 AM3/3/22
to AWX Project
Hi everyone,

I'm trying to enable an ansible collection through the requirements.yml without success....
I need the following collections: TheForeman.foreman and according to the doc: Install multiple collections with a requirements file. I've so configured my file:

# cat requirements.yml
---
collections:
- theforeman.foreman

When I'm started the project into AWX, the result is:
theforeman.foreman was not found...

As anyone any ideas what should I do? How can I find this URL collections?
Thanks in advance for your help and tips,

Regards,



Seth Foster

unread,
Mar 9, 2022, 4:03:23 PM3/9/22
to AWX Project
Hi!

The ansible-galaxy collections requirements file needs to be at collections/requirements.yml relative to the project root directory. 

Let me know if that helps,

Seth

Seth Foster

unread,
Mar 9, 2022, 4:41:20 PM3/9/22
to AWX Project

Hiero-nymo

unread,
Mar 10, 2022, 4:09:45 AM3/10/22
to AWX Project
Hi,
The collections folder must be created. Now, it is running... Thank you
First, I had put the file under roles but that was a bad idea. ;)

Best regards, H
Reply all
Reply to author
Forward
0 new messages