Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Docker

Example of running an Ansible playbook from docker's container.

Running

cd docs/examples/ansible
./run.sh localhost:8001

or

  1. Prepare the payload:
rm -rf target && mkdir target
cp -R playbook ansible.cfg inventory.ini concord.yml target/
  1. Archive the payload:
cd target && zip -r payload.zip ./*
  1. Send the payload to the server:
curl -v -u username -F archive=@payload.zip http://localhost:8001/api/v1/process