Hi All,
I would like to know how to add roles and collections apart from the default path. I created one in the ansible.cfg, but when I run playbooks is not picking it. And also I cannot see the roles and collections I installed. It looks like is going to the defaults.
Regards,
Rab
HI,
Take a look at: https://docs.ansible.com/ansible/6/reference_appendices/config.html#collections-paths
You probably need to declare collection_paths under [defaults] in Your ansible.cfg.
ex.
[defaults]
collections_paths = ./collections
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.