community.general icon indicating copy to clipboard operation
community.general copied to clipboard

Create requirements.txt or equivalent for AWX/Tower execution environments

Open erinn opened this issue 2 years ago • 5 comments

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

erinn avatar Jul 09 '21 17:07 erinn

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.

click here for bot help

ansibullbot avatar Jul 09 '21 17:07 ansibullbot

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).

felixfontein avatar Jul 10 '21 10:07 felixfontein

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.

click here for bot help

ansibullbot avatar Sep 13 '21 19:09 ansibullbot

!component None

dmsimard avatar Sep 13 '21 19:09 dmsimard

See also #4512.

felixfontein avatar Apr 16 '22 10:04 felixfontein