Maybe you have a formatting issue with your requirements.yml. Mine looks like this, and it worked no problem.
collections: - name: theforeman.foreman On Fri, Mar 4, 2022 at 10:36 AM Hiero-nymo <[email protected]> wrote: > Hi everyone, > > On the ansible documentation, I found the collection "the foreman.foreman" > here's the link: theforeman.foreman > <https://docs.ansible.com/ansible/latest/collections/theforeman/foreman/index.html> > > 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: > --- > collections: > - theforeman.foreman > > Unfortunately this collection will not be find and when I do a search into > ansible-galaxy I don't find it. > > Is the collection something else than ansible-galaxy? > I've the feeling that something goes wrong but I don't know what. > Has anyone an idea about my issue? > Could someone explain me the difference between these both repo? > > Thank you in advance for your help, > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/c9118723-986e-44fa-9a36-59a559b6f201n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAPAjob9KwPG5g%2BwLU3T%2BL77gN%2Bd5nRQ7tfbFJyvLv0C2rcrsCw%40mail.gmail.com.
