Skip to content

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
View on GitHub

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_log on sensitive values, and ansible.builtin.dnf on 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 -y

Installs 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

Similar to Ansible Generator

More DevOps & Cloud