# Ansible

> IT automation tool for configuration management, application deployment, and task automation

- Skill: `javimosch/ansible` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/ansible`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/ansible/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/ansible

---

# Ansible Plugin

Automate IT infrastructure with Ansible.

## Usage

- `ansible self version` — Print ansible version
- `ansible inventory list [-i <inventory>]` — List hosts in inventory
- `ansible playbook run <playbook> [-i <inventory>] [--check] [--diff]` — Run a playbook
- `ansible galaxy install <name>` — Install a Galaxy role/collection
- `ansible galaxy search <query>` — Search Galaxy for roles/collections
- `ansible vault encrypt <file>` — Encrypt a file with Vault
- `ansible vault decrypt <file>` — Decrypt a file with Vault
- `ansible _ _ <args>` — Passthrough any ansible command

## Examples

```bash
# Check all hosts are reachable
ansible all -m ping -i inventory.ini

# Run a playbook in check mode
ansible-playbook site.yml --check -i inventory.ini

# Install a role from Galaxy
ansible-galaxy install geerlingguy.nginx
```

