Add Option to Disable Content Installation in Project Settings #14253
Labels
community
component:api
component:awx_collection
issues related to the collection for controlling AWX
component:docs
component:ui
type:enhancement
Please confirm the following
Feature type
New Feature
Feature Summary
Desired Feature
I propose a new feature for AWX - an option in the project settings to disable the installation of Ansible roles and collections.
Use Case
The primary use case for this feature is for projects with a large number of roles and collections. Currently, AWX updates and installs these dependencies for each project update, which can be time-consuming and, in some cases, unnecessary.
This feature would allow users to choose when to update their project dependencies, offering more control and potentially reducing the time taken to update a project.
Proposed Solution
Add a checkbox or similar control in the AWX project settings UI that sets whether or not to update roles and collections. This control should be set to 'enabled' by default to maintain the current behavior.
When disabled, AWX should not update or install roles and collections for that specific project.
This user control would need to be propagated to the project_update Ansible playbook (https://github.com/ansible/awx/blob/devel/awx/playbooks/project_update.yml), controlling the
roles_enabled
andcollections_enabled
variables as appropriate.Alternatives
The current alternative is to manually modify the
roles_enabled
andcollections_enabled
variables in the playbook, but this is less intuitive and accessible to users.Select the relevant components
Steps to reproduce
Currently no way to control the installation of content in a project sync is provided out of the box
Current results
Currently no way to control the installation of content in a project sync is provided out of the box
Sugested feature result
A way to control the installation of content in a project sync is provided out of the box
Additional information
No response
The text was updated successfully, but these errors were encountered: