Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback wanted: tighten rules on which files can be used inside a collection that is included in Ansible #8

Closed
felixfontein opened this issue Feb 28, 2022 · 0 comments
Labels
ansible inclusion Regarding rules for (proposed, new or existing) collections included in Ansible

Comments

@felixfontein
Copy link
Contributor

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.

@felixfontein felixfontein added the ansible inclusion Regarding rules for (proposed, new or existing) collections included in Ansible label Feb 28, 2022
@ansible-collections ansible-collections locked and limited conversation to collaborators Feb 28, 2022
@mattclay mattclay closed this as completed Apr 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ansible inclusion Regarding rules for (proposed, new or existing) collections included in Ansible
Projects
None yet
Development

No branches or pull requests

2 participants