Am Mo., 7. März 2022 um 19:14 Uhr schrieb Richard Megginson <rmeggins@redhat.com>:
Some roles now have dependencies on collections, since with ansible-core some of the plugins are now external to ansible and only available via collections.

for background see https://github.com/linux-system-roles/storage/issues/258

The Ansible team regards this as a "not my problem" issue.

I was thinking of adding a non-standard file like `meta/collection-requirements.yml` to the roles that need it - at least we could document that users will have to first do
ansible-galaxy role install linux-system-roles.storage
then use
ansible-galaxy collection install -r /path/to/roles/linux-system-roles.storage/meta/collection-requirements.yml

Any ideas?

if a user can install a collection it seems best to me if they also installed the system roles collection instead of the system roles role. Would this allow it to depend on the other collection?


Till Maas
Associate Manager, Software Engineering
NetworkManager, Nmstate, Ansible RHEL Networking System Role

Red Hat GmbH, https://de.redhat.com/, Registered seat: Grasbrunn, 
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill