Skip to content

Latest commit

 

History

History

ansible_remote

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Ansible

Example of running an Ansible playbook on a remote host without creating a project.

Running

  1. 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

  1. Start the process:
cd examples/ansible
./run.sh localhost:8001
  1. Open the Console and find the process in the queue.

  2. Open the process status page and click Wizard button.

  3. Enter the name and the password of the secret created in the step 1. Click Submit.

  4. Open the process' log and check the results.