ansible
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- Write Ansible playbooks, roles, or inventory files
- Execute ad-hoc commands or run playbooks against hosts
- Use modules (package, copy, template, service, user, etc.) for configuration and deployment
- Handle variables, conditionals, loops, and error handling in Ansible
- Set up Ansible Vault for secrets management
How to use this skill
Workflow
- Define inventory — list target hosts in INI or YAML format
- Write playbook — define hosts, tasks, handlers, and vars in YAML
- Organize with roles — extract reusable tasks, templates, and defaults into roles
- Run and validate — execute with
ansible-playbookand verify idempotency