Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run playbooks from collections #15313

Open
5 of 9 tasks
gigi206 opened this issue Jun 29, 2024 · 0 comments
Open
5 of 9 tasks

Run playbooks from collections #15313

gigi206 opened this issue Jun 29, 2024 · 0 comments
Labels
community component:awx_collection issues related to the collection for controlling AWX component:ui type:enhancement

Comments

@gigi206
Copy link

gigi206 commented Jun 29, 2024

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • 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

  • UI
  • API
  • Docs
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:awx_collection issues related to the collection for controlling AWX component:ui type:enhancement
Projects
None yet
Development

No branches or pull requests

2 participants