executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
ansibleRun Ansible playbooks and manage AWX/Tower via API. Automate infrastructure configuration.
Independent GitHub snapshot · Automated classification · Original documentation governs
Infrastructure automation.
export AWX_URL="https://awx.example.com"
export AWX_TOKEN="xxxxxxxxxx"
curl "$AWX_URL/api/v2/job_templates/" -H "Authorization: Bearer $AWX_TOKEN"
curl -X POST "$AWX_URL/api/v2/job_templates/{id}/launch/" \
-H "Authorization: Bearer $AWX_TOKEN" \
-H "Content-Type: application/json" \
-d '{"extra_vars": {"host": "webserver"}}'
curl "$AWX_URL/api/v2/jobs/{jobId}/" -H "Authorization: Bearer $AWX_TOKEN"
ansible-playbook -i inventory.yml playbook.yml
ansible all -m ping -i inventory.yml