ansible-galaxy vs. ansible-galaxy collections

Hi everyone,

On the ansible documentation, I found the collection “the foreman.foreman” here’s the link: theforeman.foreman

This collection can manually be installed like:
ansible-galaxy collection install the foreman.foreman and all seems ok.

So, now I need to do the same things but automatically through the requirements.yml file, like this:

"works for me"

$ cat r.yml

Maybe you have a formatting issue with your requirements.yml. Mine looks like this, and it worked no problem.

collections:

  • name: theforeman.foreman

Thank you for your help.
I have configured it as you told me and it works well…

Best regards