awx
awx copied to clipboard
Run playbooks from collections
Please confirm the following
- [X] I agree to follow this project's code of conduct.
- [X] I have checked the current issues for duplicates.
- [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
Feature type
Enhancement to Existing Feature
Feature Summary
In collections, you can create a directory playbooks
to store playbooks.
mynamespace/
└── mycollection/
└── playbooks/
└── myplaybook.yml
And with the cli you can call your playbook.
ansible-playbook mynamespace.mycollection.myplaybook
I create the requirements.yaml loaded by my project with the associated collection. But when I create the template, it does not detect the playbooks.
How to solve this issue ?
Select the relevant components
- [X] UI
- [ ] API
- [ ] Docs
- [X] Collection
- [ ] CLI
- [ ] Other
Steps to reproduce
- Create a collection with some playbooks in the playbooks directory
- Create a project that contains the requirements.yaml file that include your collection that include playbooks
- In template, in the playbook input filed, playbooks are not detected
Current results
Playbooks from collections are not seen by the template
Sugested feature result
Playbooks from collections must be seen by the template
Additional information
No response