semaphoreui / semaphore

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

[Feature Request] Show playbook and Inventory from Local Path #1959

Open benisdev-py opened 2 months ago

benisdev-py commented 2 months ago

Hey, I can't find a feature request that matches this.

It would be nice to be able to see the playbook or Inventory file in the semaphore UI. So if you have a local playbook or Inventory, and even if it's from Git, it would be helpful if you could see the source code or Inventory items when you click on the source in tab "task templates".

I think that would help some other users here a lot and I personally miss that a bit. So if you have time, it would be nice if you could implement that.

crytectobi commented 3 weeks ago

This would be super convenient, I was playing around with semaphore first time today and was missing this feature. A drop down of all playbooks found in the local repository, and just choosing one of them would be so much easier und less tedious. Same goes for inventories. I want to specify a local folder of inventory files, and then in task template there should be a drop down list with all found inventories to choose from.