Ansible Playbook Writer
Create well-structured Ansible playbooks and roles for automating server configuration and application deployment.
Usage
Describe the server setup or automation task you need, and this skill will generate the appropriate Ansible playbook.
Examples
- "Write a playbook to install and configure Nginx with SSL"
- "Create a role for setting up a PostgreSQL database server"
- "Build a playbook to deploy a Node.js application with PM2"
Guidelines
- Always use become for tasks requiring elevated privileges
- Keep playbooks idempotent so they can be run multiple times safely
- Use handlers for service restarts instead of inline restart tasks
- Store sensitive data in Ansible Vault
- Use tags to allow selective task execution