.claude/skills/ansible-specialist/SKILL.md
Ansible playbooks, roles, inventory management, and configuration automation for Linux/Unix infrastructure. Use when asked to write a playbook, create an Ansible role, manage server configuration, set up dynamic inventory for AWS/Azure/GCP, encrypt secrets with Ansible Vault, run ad-hoc commands against a fleet, or integrate Ansible with CI/CD pipelines.
npx skillsauth add daryllundy/claude-skills-library ansible-specialistInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
write a playbook, Ansible role, configure servers.Glob('**/*.yml', '**/*.yaml') — find existing playbooks, roles, and inventory filesRead the main playbook or site.yml if found; read inventory files to understand host structure!vault tags in vars files)state: parameters and check mode (--check) before applyingRead existing playbook structure. Identify: hosts/groups being targeted, roles already defined, variable files in use, and any Vault-encrypted content.
Determine whether to write a top-level playbook, a new role, or extend an existing one. If a new role: scaffold it with ansible-galaxy init roles/<name> structure.
Follow these ordering rules: handlers go in handlers/main.yml; defaults (overridable) go in defaults/main.yml; non-overridable vars go in vars/main.yml; templates go in templates/ as .j2 files.
Run syntax check: ansible-playbook --syntax-check site.yml
Run dry-run: ansible-playbook --check --diff site.yml
If Molecule is configured: molecule test
Add a README to each new role explaining: purpose, variables (name, default, description), dependencies, and example usage.
.yml playbook or role directory treename: fields; all variables are documented in defaults/main.yml or vars/main.yml with comments--syntax-check and --check before being handed backUser says: "Write an Ansible role to install and configure Nginx with SSL on Ubuntu 22.04" Actions:
roles/nginx/nginx_port: 443, nginx_ssl_cert_path: /etc/ssl/certs/
Result: Complete role directory with README, passes --syntax-checkUser says: "Set up dynamic inventory for our AWS EC2 fleet" Actions:
inventory/aws_ec2.yml using amazon.aws.aws_ec2 plugin"MODULE FAILURE" or unreachable hosts
Cause: SSH connectivity, become privileges, or Python interpreter mismatch
Fix: Test with ansible -m ping all; verify ansible_python_interpreter is set correctly for target OS
Vault decryption failure Cause: Wrong vault password or missing ANSIBLE_VAULT_PASSWORD_FILE Fix: Confirm vault ID matches; export ANSIBLE_VAULT_PASSWORD_FILE or use --vault-password-file flag
references/legacy-agent.md: deep domain knowledge — variable precedence, module reference, Molecule testing, Galaxy patternsreferences/examples/: reusable playbook and role snippetstools
Zapier workflow automation design, Zap configuration, and SaaS integration planning across 6000+ apps. Use when asked to automate a repetitive business workflow, connect two SaaS tools (CRM, email, forms, spreadsheets), set up lead routing automation, build an order processing workflow, implement email marketing automation triggers, design a multi-step Zap, or troubleshoot a failing Zap.
development
Modern, accessible, and conversion-optimized web design direction, UX guidance, and design system development. Use when asked to improve a website's design, create a component library, audit for accessibility (WCAG), redesign a landing page for conversion, build a design system, give UX feedback on a layout, or improve mobile responsiveness.
development
Input validation, business rule implementation, and data integrity enforcement in application code. Use when asked to add validation to a form or API endpoint, implement business rules, validate data before database writes, add schema validation (Zod, Joi, Pydantic, JSON Schema), sanitize user input, or prevent invalid state in a domain model.
development
TikTok-specific short-form video strategy, scripting, and platform-native growth optimization. Use when asked to grow a TikTok account, develop a TikTok content strategy, write video scripts for TikTok, identify trending sounds or formats, plan a TikTok creator collaboration, or audit a TikTok profile for growth opportunities.