Skip to content

Files

Latest commit

2da9755 · Apr 6, 2024

History

History

ansible_limit

Ansible

Example of running an Ansible playbook with --limit option.

Running

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

or

  1. Prepare the payload:
rm -rf target && mkdir target
cp -R playbook 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