This one generates Ansible playbooks, roles, tasks, inventory files, and project scaffolding from natural language requests. It runs a deterministic four-stage flow: classifies whether you want full production-ready files, quick snippets, or just docs, collects missing inputs with safe defaults, pulls from local templates and best practice references, then generates with FQCN modules, idempotency checks, and security patterns baked in. After generation it validates with ansible-validator or falls back to manual static checks if tooling is unavailable. The validation exception matrix is smart about when to skip checks for snippets versus full playbooks. Solid if you scaffold Ansible content often and want consistent structure without hunting down boilerplate or forgetting argument_specs every time.

skills.sh installs
907
GitHub stars
337
last updated
Aug 21, 2026

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill ansible-generator --agent claude-code

Installs into .claude/skills of the current project.

Files

Ansible Generator

Trigger Phrases

Use this skill when the request is to generate or scaffold Ansible content, for example:

  • "Create a playbook to deploy nginx with TLS."
  • "Generate an Ansible role for PostgreSQL backups."
  • "Write inventory files for prod and staging."
  • "Build reusable Ansible tasks for user provisioning."
  • "Initialize an Ansible project with ansible.cfg and requirements.yml."
  • "Give me a quick Ansible snippet to install Docker."

Do not use this skill as the primary workflow when the request is validation/debug-only (syntax errors, lint failures, Molecule/test failures). Use ansible-validator for those cases.

Deterministic Execution Flow

Run these stages in order. Do not skip a stage unless the Validation Exceptions Matrix explicitly allows it.

Stage 0: Classify Request Mode

Determine one mode first:

Sponsors

Details

Repository
github.com/akin-ozer/cc-devops-skills
Categories
DevOps & CI/CD, Automation & Workflows
First seen
Jun 3, 2026

More from akin-ozer/cc-devops-skills

All 31
1akin-ozer avatarterraform-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or plan Terraform/.tf/HCL files; runs tflint, checkov, terraform validate.681skills.sh installs
2akin-ozer avatarterraform-generatorakin-ozer/cc-devops-skillsCreate, generate, write, or scaffold Terraform .tf HCL — resources, modules, providers, variables, outputs.680skills.sh installs
3google avatargoogle-agents-cli-deploygoogle/agents-cliThis skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or 560Kskills.sh installs
4microsoft avatarazure-enterprise-infra-plannermicrosoft/azure-skillsArchitect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, s532.4Kskills.sh installs
5wshobson avatargithub-actions-templateswshobson/agentsCreate production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, aut18.1Kskills.sh installs
6wshobson avatardeployment-pipeline-designwshobson/agentsDesign multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pi14.2Kskills.sh installs