ansible
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binaries | ansible, ansible-playbook, ansible-vault, ansible-galaxy, ansible-inventory, ansible-lint |
| System config | /etc/ansible/ansible.cfg |
| User config | ~/.ansible.cfg (overrides system config) |
| Default inventory | /etc/ansible/hosts |
| Roles path | /etc/ansible/roles (system) · ~/.ansible/roles (user) |
| Collections path | ~/.ansible/collections/ |
| Type | Agentless push-based automation (SSH for Linux, WinRM for Windows) |
| Install | pip install ansible / apt install ansible / dnf install ansible |
Key Operations
| Operation | Command |
|---|---|
| Ping all hosts | ansible all -m ping |
| Run playbook | ansible-playbook playbook.yml |
Related skills