ansible / mazer

Experimental Ansible Galaxy Content Manager
GNU General Public License v3.0
114 stars 18 forks source link

On collection install, install run-time dependencies from meta/main.yml for each included role. #137

Closed chouseknecht closed 5 years ago

chouseknecht commented 6 years ago

After installing an Ansible Collection:

alikins commented 5 years ago

Part 2 ("After installing a traditional Ansible role, Install any dependencies enumerated in meta/main.yml") is implemented via: https://github.com/ansible/mazer/pull/156 https://github.com/ansible/mazer/pull/158 https://github.com/ansible/mazer/pull/157

alikins commented 5 years ago

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 https://github.com/ansible/mazer/issues/138

This is not implemented currently as of (~0.3.0, 5ea70d3cd44c660c8aa46a5217368dcdbc2fd8c6).

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.

alikins commented 5 years ago

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 https://github.com/ansible/mazer/issues/138

alikins commented 5 years ago

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.