"works for me"

$ cat r.yml
---
collections:
- theforeman.foreman

$ ANSIBLE_COLLECTIONS_PATH=$(python -c "import site;
print(site.getsitepackages()[0])") ansible-galaxy collection install
-r r.yml
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Installing 'theforeman.foreman:3.2.0' to
'/Users/dick.visser/eduteams/customers/dick/venv/lib/python3.9/site-packages/ansible_collections/theforeman/foreman'
Downloading https://galaxy.ansible.com/download/theforeman-foreman-3.2.0.tar.gz
to /Users/dick.visser/.ansible/tmp/ansible-local-224752svvc2ov/tmpd74dil8_
theforeman.foreman (3.2.0) was installed successfully


On Fri, 4 Mar 2022 at 16:36, Hiero-nymo <[email protected]> wrote:
>
> 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:
> ---
> 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.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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/CAL8fbwMZUZ4AjEpTT5vHeAYOXAJRZL8JM6sxApxDw7h5UdO-hw%40mail.gmail.com.

Reply via email to