You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
Part 1 ("After installing an Ansible Collection, traverse the roles directory, and for each role, install any dependencies enumerated in meta/main.yml."). This bug list two parts, but going to consider part2 here as split out into #138
This is not implemented currently as of (~0.3.0, 5ea70d3).
I'm not sure if it doing a transverse down into all of the roles looking for deps is consistent with the idea that a collection is the installable unit.
Dependencies specified in a roles meta/main.yml are going to be a dep that points to another role, not necessarily a collection. Granted, this is fuzzy for the case of traditional roles available in galaxy (where the role is also sort of a Collection).
role meta/main.yml deps are runtime deps and not necessarily install time requirements.
a role inside of a collection could have a meta/main.yml dep on another role inside of the collection, which would not have a name that mazer could resolve but ansible-playbook could resolve it at runtime.
a role inside of a collection could have a dep on a role that is not known to mazer (a locally installed role, or a role provided outside of mazer/galaxy)
All of the roles within a collection would need to share the same transitive requirements. ie, roles inside a collection could not have dependencies that conflict with each other since there would be no way to solve them all at the same time.
Removing part2 of original comment "After installing a traditional Ansible role: Install any dependencies enumerated in meta/main.yml" as it is split out into #138
alikins
changed the title
Install role run-time dependencies
On collection install, install run-time dependencies from meta/main.yml for each included role.
Nov 6, 2018
WONTFIX in lieu of collection being the unit of installation and dependencies. Roles that need roles from other collections should update the containing collection dep.
After installing an Ansible Collection:
roles
directory, and for each role, install any dependencies enumerated inmeta/main.yml
.The text was updated successfully, but these errors were encountered: