Ansible Generator
Generates Ansible playbooks, roles, tasks, inventory, and project config with deterministic validation fallbacks.
- CCM score
- 57 of 100
- skills.sh installs
- 999
- GitHub stars
- 345
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers full-generation, snippet-only, and docs-only modes, each with its own deliverable and validation rules
- Includes templates for playbooks, roles with Molecule scaffolding, INI and YAML inventory, and
ansible.cfg,requirements.yml, and.ansible-lint - Enforces FQCN module names, idempotent tasks,
no_logon sensitive values, andansible.builtin.dnfon RHEL 8 and later - Designed for requests to create or scaffold Ansible content, with validation-only requests routed to
ansible-validator
Install
$ npx -y skills add akin-ozer/cc-devops-skills --skill ansible-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/akin-ozer/cc-devops-skills
- Category
- DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the ansible-generator skill do?
ansible-generator scaffolds Ansible playbooks, roles, tasks, handlers, inventory files and vars for an agent to write. It works from requests such as creating a playbook to deploy nginx with TLS, or initializing a project with ansible.cfg and requirements.yml.
How do I install the ansible-generator skill?
Run npx -y skills add akin-ozer/cc-devops-skills --skill ansible-generator -y inside your project. Once installed, ansible-generator lets your agent produce full Ansible file sets, focused task snippets or explanations, depending on the request.
Is ansible-generator for validating Ansible code too?
No, ansible-generator is for generating and scaffolding Ansible content, not for lint, syntax or test failures. The skill states that validation-only requests belong to the separate ansible-validator skill, which handles syntax errors and Molecule test failures.
Where does ansible-generator sit in the DevOps and Cloud category?
ansible-generator is listed in the DevOps and Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. ansible-generator writes Ansible roles with argument specs and Molecule test scaffolding, which those Azure skills do not cover.
More from akin-ozer/cc-devops-skills
All 31- K8s Debug990
- Jenkinsfile Generator939
- Dockerfile Validator857
- Bash Script Validator811
- Dockerfile Generator804
- Gitlab Ci Validator793
- K8s Yaml Validator786
- Helm Validator783
- Bash Script Generator774
- Jenkinsfile Validator769
- Terragrunt Validator764
- K8s Yaml Generator755
- Github Actions Validator752
- Azure Pipelines Generator750
- Gitlab Ci Generator746
- Terraform Generator745
- Github Actions Generator744
- Terraform Validator742
- Azure Pipelines Validator740
- Helm Generator737
- Makefile Validator730
- Makefile Generator715
- Promql Generator715
- Promql Validator706
Similar to Ansible Generator
More DevOps & Cloudansible-validatorSkillakin-ozer/cc-devops-skills2K installsValidate, lint, and debug Ansible playbooks, roles, and inventories with FQCN and dry-run checks.
ansibleSkillrightnow-ai/openfang238 installsAnsible automation guide for idempotent playbooks, roles, inventories, Vault secrets, and rolling deployments.
ansible-expertSkillpersonamanagmentlayer/pcl574 installsExpert Ansible guidance for playbooks, inventories, templates, variables, error handling, and Vault encryption.
terraform-generatorSkillakin-ozer/cc-devops-skills745 installsGenerates validated Terraform HCL for resources, modules, providers, variables, and outputs with a mandatory validation loop.
ansible-toolkitPluginarmanzeroeight/fastagent-plugins29 starsAnsible automation toolkit for playbook design, role creation, and inventory management. Includes playbook architect agent for strategic automation decisions.
ansible-automationSkillaj-geddes/useful-ai-prompts1.9K installsAnsible-based infrastructure automation that covers configuration, deployment, patching, and server management through playbooks, roles, and inventory.