Example of running an Ansible playbook on a remote host without creating a project.
- Upload the remote ssh key to the server:
curl -H "Authorization: API_TOKEN" \
-F private=@/path/to/id_rsa \
-F public=@/path/to/id_rsa.pub \
-F storePassword=mySecretPassword \
'http://localhost:8001/api/v1/org/Default/secret/keypair?name=mySecret'
The name
should be unique. Remember storePassword
- Start the process:
cd examples/ansible
./run.sh localhost:8001
-
Open the Console and find the process in the queue.
-
Open the process status page and click
Wizard
button. -
Enter the name and the password of the secret created in the step 1. Click
Submit
. -
Open the process' log and check the results.