awx: add requirements.yml for galaxy roles #3421
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some of our roles (
curl
andGIT_Source
) are trying to use things from ansible galaxy -homebrew
andzypper
specifically - which are not available by default, so they fail from AWX when you try to sync the project.This configuration file, based on the information in https://docs.ansible.com/ansible-tower/3.8.4/html/userguide/projects.html#ansible-galaxy-support, allows us to use the common modules from Ansible Galaxy. Note that this requires
Enable Collection(s) Download
to be set on in the Settings -> Jobs Settings section of the UI (Only available toadmin
)Related to #3339 (comment)
Testing at https://awx.adoptium.net/#/jobs/playbook/122/output - since it's got past the initial failure at the start (see below) this should be ok to merge now.
Checklist