
Ansible Generator
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-codeInstalls 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- K8s Debug887
- Jenkinsfile Generator862
- Dockerfile Validator786
- Dockerfile Generator741
- Bash Script Validator734
- Gitlab Ci Validator725
- K8s Yaml Validator715
- Helm Validator712
- Bash Script Generator710
- Jenkinsfile Validator706
- Terragrunt Validator703
- K8s Yaml Generator694
- Azure Pipelines Generator692
- Github Actions Validator686
- Gitlab Ci Generator686
- Github Actions Generator684
- Terraform Validator681
- Azure Pipelines Validator680
- Terraform Generator680
- Helm Generator674
- Makefile Validator671
- Makefile Generator659
- Promql Generator656
- Promql Validator646