Agent skill

ansible

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

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ansible-thinkfleetai-thinkfleet-engine

Metadata

Additional technical details for this skill

thinkfleet
{
    "emoji": "\ud83c\udd70\ufe0f",
    "requires": {
        "env": [
            "AWX_URL",
            "AWX_TOKEN"
        ]
    }
}

SKILL.md

Ansible / AWX

Infrastructure automation.

Environment

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

List Job Templates

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

Launch Job

bash
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

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

Run Ansible CLI

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

Links

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results