This simple Ansible client script allows you to input the vault password from Semaphore's UI when launching the task template.
- Drop the Python script into your repo and make it executable
- Add a survey variable named
vault#VAULT-ID
(whereVAULT-ID
is your vault ID; usedefault
if you are using only one vault without an ID); make it required - Add a vault, setting the type to "Client script" and the path to the script path in your repo