This is a comprehensive Ansible quality gate that runs syntax checks, linting, security scans, and Molecule tests in a single pass. The workflow is deterministic and bulletproof: if Docker isn't available for Molecule or Checkov isn't installed, it marks those stages as blocked and continues with everything else instead of failing early. It's especially useful for catching non-FQCN module usage (like `apt` instead of `ansible.builtin.apt`) and includes dual secret scanning with both Checkov and a dedicated secrets detector. The wrapper scripts handle tool bootstrapping automatically, so you don't need a pre-configured environment. Best for CI pipelines or pre-commit validation where you want exhaustive coverage without manual dependency wrangling.

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

Install

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

Installs into .claude/skills of the current project.

Files

Ansible Validator

Overview

Comprehensive toolkit for validating, linting, and testing Ansible playbooks, roles, and collections. This skill provides automated workflows for ensuring Ansible code quality, syntax validation, dry-run testing with check mode and molecule, and intelligent documentation lookup for custom modules and collections with version awareness.

Default behavior: When validating any Ansible role with a molecule/ directory, attempt Molecule automatically using bash scripts/test_role.sh <role-path>. If Molecule cannot run due to environment/runtime limits, mark Molecule as BLOCKED, report why, and continue all non-Molecule validation steps.

Trigger Guidance

Use this skill when the request is about validating or debugging existing Ansible code, not generating new code.

Common trigger phrases:

  • "validate this playbook"
  • "lint this role"
  • "why is ansible-lint failing"
  • "run check mode safely"
  • "test this role with molecule"
  • "find security issues in these Ansible files"
  • "module not found in this collection"

When to Use This Skill

Apply this skill when encountering any of these scenarios:

Sponsors

Details

Repository
github.com/akin-ozer/cc-devops-skills
Categories
DevOps & CI/CD, Code Review & Quality, Debugging
First seen
Jun 3, 2026

More from akin-ozer/cc-devops-skills

All 31
1davila7 avatarsenior-devopsdavila7/claude-code-templatesComprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup, infrastructur1.4Kskills.sh installs
2kostja94 avatarseo-monitoringkostja94/marketing-skillsWhen the user wants to build an SEO data analysis system, monitor indexing/traffic/keywords/backlinks, or set up benchmarks. Also use when the user mentions "SE1.3Kskills.sh installs
3mindrally avatarci-cd-best-practicesmindrally/skillsCI/CD best practices for building automated pipelines, deployment strategies, testing, and DevOps workflows across platforms1.3Kskills.sh installs
4vtex avatarvtex-io-observability-and-opsvtex/skillsApply when making VTEX IO services easier to observe, troubleshoot, and operate in production. Covers metrics, structured logging, failure visibility, rate-limi1.2Kskills.sh installs
5ailabs-393 avatardocker-containerizationailabs-393/ai-labs-claude-skillsThis skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various 1.1Kskills.sh installs
6mindrally avatargitlab-workflowmindrally/skillsGitLab best practices for merge requests, CI/CD pipelines, issue tracking, and DevOps workflows1.1Kskills.sh installs