Hi guys. How are you?
Let’s say I have a structure like this uploaded to AWX.
source/
some_organizational_stuff/
playbooks/
playbook.yml
roles/
role_example/
tasks/
main.yml
In this scenario, playbook.yml will be executed and it includes the role: role_example.
role_example makes use of the community. general collection or any other.
I’m trying to make AWX automatically download and install the collection using the file requirements.yml
But I have tried it many times, I tried placing it under roles, and I tried under role_example. But none has worked.
I know it’s possible to add it to the repository or build a new execution environment. But for my current scenario, those options are not preferred.
Is it possible to dynamically make AWX download any collection based on requirements configuration?
Thank you for your time.