awx icon indicating copy to clipboard operation
awx copied to clipboard

Run playbooks from collections

Open gigi206 opened this issue 4 days ago • 0 comments

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

  1. Create a collection with some playbooks in the playbooks directory
  2. Create a project that contains the requirements.yaml file that include your collection that include playbooks
  3. 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

gigi206 avatar Jun 29 '24 20:06 gigi206