semaphoreui / semaphore

Modern UI for Ansible, Terraform, OpenTofu, Bash, Pulumi.
https://semaphoreui.com
MIT License
10.24k stars 1.03k forks source link

Support for playbooks within folders? #874

Open Driaan opened 2 years ago

Driaan commented 2 years ago

Currently using a structure where playbooks are categorized into different folders but cant seem to run any when passing the path into the playbook name for the task. Are playbooks within folders supported?

danielo515 commented 2 years ago

I am also interested on this, because almost all my repositories have the playbook files nested

danielo515 commented 2 years ago

I can confirm that it's possible to target nested folders. For example, I just put NAS/playbook.yml and it ran properly. Will be awesome if semaphore analizes the folders and also offers you a drop down to select an existing one, but without loosing the ability to put some arbitrary string too