# Ansible playbooks (/devops--ansible)

/devops--ansible is a Claude Code skill in the Code section. Creates or refactors Ansible automation with roles, per-environment inventories, idempotent tasks and secrets encrypted with Ansible Vault.

- Web version: https://skills.sgomez.dev/en/s/devops--ansible
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/devops/ansible.md
- Updated 10 Jul 2026

## How to ask for it

- `/devops--ansible playbook to install Nginx across several servers`
- `/devops--ansible add vault-encrypted secrets to my playbook`
- `/devops--ansible organize my Ansible inventory by environment`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install devops-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*.yml`, `**/*.yaml`, `ansible.cfg`, `inventories/**`, `roles/**`, `group_vars/**`, `host_vars/**`, `playbooks/**`, `.gitignore`, `requirements.yml`
- Runs: `ansible`, `ansible-playbook`, `ansible-vault`, `ansible-lint`, `ansible-galaxy`, `ansible-inventory`, `python`, `pip`
- Network: No
- Destructive: No

## Author's description

Write Ansible playbooks with roles, idempotency, vault-encrypted secrets, inventories

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
