Agent skill · software engineering · aj-geddes
ansible-automation
Infrastructure automation and configuration management using Ansible playbooks, roles, and inventory. Use for deploying applications, patching, and managing servers.
Why this skill is useful
Provides specific Ansible playbook examples and best practices for infrastructure automation that the AI wouldn't reliably generate on its own.
What it needs
Requires ansible installed locally. About 1k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.
What this skill does
Ansible Automation Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Automate infrastructure provisioning, configuration management, and application deployment across multiple servers using Ansible playbooks, roles, and dynamic inventory management. When to Use Configuration management Application deployment Infrastructure patching and updates Multi-server orchestration Cloud instance provisioning Container management Database administration Security compliance automation Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- Playbook Structure and Best Practices Playbook Structure and Best Practices Inventory and Variables Inventory and Variables Ansible Deployment Script Ansible Deployment Script Configuration Template Configuration Template Best Practices ✅ DO Use roles for modularity Implement proper error handling Use templates for configuration Leverage handlers for idempotency Use serial deployment for rolling updates Implement health checks Store inventory in version control Use vault for sensitive data ❌ DON'T Use command/shell without conditionals Copy files without templates Run without check mode first Mix environments in inventory Hardcode values Ignore error handling Use shell for simple tasks
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aj-geddes/ansible-automation