Hi,
According to ansible document[1],
Roles in a collection cannot contain plugins any more. Plugins must live in the collection plugins directory tree. Each plugin is accessible to all roles in the collection.
How should network role cooperate on this?
Best regards!
[1]: https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.htm...
Hi Gris,
The collection converter script copies the plugins to the appropriate locations here. https://github.com/linux-system-roles/auto-maintenance/blob/master/lsr_role2...
Regarding the paths, the network role is in the good shape. Only exceptions are the 2 CI tests tests_unit.yml and tests_integration_pytest.yml which directly access the library and the module_utils, which should be taken care in this PR. https://github.com/linux-system-roles/network/pull/319
Currently, there is a known issue in loading module_utils with Ansible 2.9+ on python 3. https://github.com/linux-system-roles/test-harness/issues/124 Please see also https://github.com/ansible/ansible/issues/68361
We are still looking for the solution/workaround. Depending upon the result, we may need to make some changes in the roles.
Thanks, --noriko@system-roles
On 11/25/20 3:27 AM, Gris Ge wrote:
Hi,
According to ansible document[1],
Roles in a collection cannot contain plugins any more. Plugins must live in the collection plugins directory tree. Each plugin is accessible to all roles in the collection.
How should network role cooperate on this?
Best regards!
systemroles mailing list -- systemroles@lists.fedorahosted.org To unsubscribe send an email to systemroles-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/systemroles@lists.fedorahosted....
systemroles@lists.fedorahosted.org