semaphoreui / semaphore

Modern UI for Ansible, Terraform, OpenTofu, PowerShell and other DevOps tools.
https://semaphoreui.com
MIT License
10.39k stars 1.05k forks source link

Inventory Download #590

Open markfaine opened 4 years ago

markfaine commented 4 years ago

We keep our inventory in Gitlab so I was having trouble figuring out how to reference it in semaphore. Do you think it would work, to create a playbook for the purpose of downloading our inventory, and then configure an inventory file that points to that inventory?

strangeman commented 4 years ago

Sure, why not. You can download an inventory to the server and then just point to in with -i flag of ansible-playbook.

fiftin commented 4 years ago

@markfaine Are you keep your inventory separate from playbooks?

markfaine commented 4 years ago

Yes, it's in it's own repo for now though are looking for ways to create a dynamic inventory.