community.general
community.general copied to clipboard
Create requirements.txt or equivalent for AWX/Tower execution environments
Summary
AWX and ansible tower are moving to using execution environments (containers, basically) versus virtualenvs, as such ansible-builder has been put together to build execution environments. ansible-builder collection documentation shows what happens, but basically if a collection has a requirements.txt said python requirements are installed into the execution environment thus easing maintenance of the execution environment.
I'd like to propose that the community.general collection begin a requirements.txt fie to gather python module requirements, thus allowing easier installation into an EE.
Issue Type
Feature Idea
Component Name
all
Additional Information
No response
Code of Conduct
- [X] I agree to follow the Ansible Code of Conduct
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
This is quite a huge task, since community.general has a huge amount of plugins and modules. Keeping a requirements file up-to-date for such a collection is quite a task.
In any case, we were about to discuss this soon anyway (ansible-community/community-topics#31).
Files identified in the description:
-
lib/ansible/cli/__init__.py
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
!component None
See also #4512.