-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Execution environment definition, creation, and management #5157
Comments
I was going to try to post a bunch of links here from Ansible core. The roadmap for 2.10 isn't enlightening for me. Maybe there's a longer-term roadmap somewhere? Some requests, like ansible/ansible#58266, are counter-productive. There are some surprising formats used for Ansible module python requirements
Would these involve into some standard spec used for this? Would this involve user specification of python requirements? Do they need to be presented with module / collection requirements are suggestions? But module requirements are also a separate subject from collection requirements. You should not need all requirements to install a collection and use an inventory plugin from it, even if the modules have a requirement (take the AWX collection as an example, that is exactly the case with it). Another subject I'm very worried about is collection dependency resolution. You might be able to write out a spec, but that spec might contradict itself. This is possible with collection requirements themselves. Add python requirements (particularly non-necessary ones), and the likelihood of that increases. |
Another link #4844 (expect this to be closed) |
@shanemcd moved this to needs_test, putting this onto folks for visibility. @kdelee @tiagodread @yagomarques |
this is all covered in builder features
the above are all covered in builder features
I think we can close this issue as it has been broken up into other issues |
…onsive Fix advanced search responsive behavior
ISSUE TYPE
(I expect subtasks will live off of here.)
SUMMARY
Ansible is moving to collections. Collections have dependencies. Dependencies complicate providing coherent execution of playbooks. We have historically hidden this complexity for cloud modules, but it seeps in occasionally (especially with Azure), and we leave custom venv creation entirely to our users. This is complicated by the fact that the AWX operator is often not the playbook author. Our users aren’t venv and pip experts; we need to make things easier for them where we can.
Hence, AWX needs to expand to provision and manage execution environments, including how they get to execution nodes.
What is an execution environment?
An execution environment definition consists of:
The concept of specifying a set of collections for an environment is to resolve and install their dependencies. The collections themselves are not required to be in the environment (and arguably should not be.)
An execution environment is built from this definition. This will likely be a container image.
What should we provide to users?
The text was updated successfully, but these errors were encountered: