L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

ansible

ansible

Run Ansible playbooks and manage AWX/Tower via API. Automate infrastructure configuration.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: ansible description: Run Ansible playbooks and manage AWX/Tower via API. Automate infrastructure configuration. metadata: {"clawdbot":{"emoji":"🅰️","requires":{"env":["AWX_URL","AWX_TOKEN"]}}}

Ansible / AWX

Infrastructure automation.

Environment

export AWX_URL="https://awx.example.com"
export AWX_TOKEN="xxxxxxxxxx"

List Job Templates

curl "$AWX_URL/api/v2/job_templates/" -H "Authorization: Bearer $AWX_TOKEN"

Launch Job

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"}}'

Get Job Status

curl "$AWX_URL/api/v2/jobs/{jobId}/" -H "Authorization: Bearer $AWX_TOKEN"

Run Ansible CLI

ansible-playbook -i inventory.yml playbook.yml
ansible all -m ping -i inventory.yml

Links

Skills enregistrées