Cannot install collection through requirements.yml file

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

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

and here is the link with that information https://docs.ansible.com/automation-controller/latest/html/userguide/projects.html#collections-support

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. :wink:

Best regards, H