How to handle roles with dependencies on collections?
by Richard Megginson
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?
1 year, 7 months