Feedback wanted: tighten rules on which files can be used inside a collection that is included in Ansible #8
Labels
ansible inclusion
Regarding rules for (proposed, new or existing) collections included in Ansible
This only is relevant to collections that are included in the Ansible community distribution, or that want to be included in it. Regular installation of collections (by
ansible-galaxy collection install
) are not affected.We are currently discussing on how to reduce the size of the installed Ansible package (see ansible-community/community-topics#65). To ensure that this is possible, we are discussing whether to extend the Ansible inclusion rules (https://github.com/ansible-collections/overview/blob/main/collection_requirements.rst) to restrict the files in a collection that plugins, roles and playbooks are allowed to access.
The discussion happens in ansible-community/community-topics#70, and the current proposal is to disallow usage of any files outside the subdirectories meta/, plugins/, roles/ and playbooks/. If your collection depends files outside these directories to be present to work, please speak up in the discussion so we can find out why you need that, and figure out how to either help you avoid that or adjust the rules so that your use-case is covered.
If you do not speak up or we notice otherways, it could be that your collection will stop working when installed as part of Ansible 6!
If you have questions, please ask these in ansible-community/community-topics#70 and not here. Thanks.
The text was updated successfully, but these errors were encountered: