Ansible Validator
Validate, lint, and debug Ansible playbooks, roles, and inventories with FQCN and dry-run checks.
- CCM score
- 55 of 100
- skills.sh installs
- 1.9K
- GitHub stars
- 345
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the validation workflow from preflight through syntax checks, linting, check mode, Molecule testing, and final reporting
- Includes wrapper scripts such as
validate_playbook.sh,validate_role.sh,test_role.sh,check_fqcn.sh, andscan_secrets.shwith direct-command fallbacks - Enforces a status contract that marks environment or runtime gaps as
BLOCKEDseparately from codeFAILresults - Designed for reviewing existing Ansible code rather than generating new playbooks or roles
Install
$ npx -y skills add akin-ozer/cc-devops-skills --skill ansible-validator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/akin-ozer/cc-devops-skills
- Categories
- DevOps & Cloud, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the ansible-validator skill do?
ansible-validator validates, lints, audits, and debugs existing Ansible playbooks, roles, inventories, and tasks. It covers syntax checks, linting, dry-run testing with check mode, Molecule role tests, and FQCN module checks. It works on code you already have rather than generating new Ansible files.
How do I install the ansible-validator skill?
Run npx -y skills add akin-ozer/cc-devops-skills --skill ansible-validator -y in your project to install it. Once installed, ansible-validator lets your agent validate playbooks and roles on request. Its preflight script checks which tools are present before validation runs.
Which tools does ansible-validator need?
ansible-validator needs ansible, ansible-playbook, and ansible-lint for baseline validation, with yamllint recommended. Molecule testing additionally needs molecule and a Docker or Podman runtime. Security scanning uses checkov, which its wrapper can install if missing.
Where does ansible-validator stand in the DevOps & Cloud category?
ansible-validator is listed in the DevOps & Cloud category on Claude Marketplaces. Its category peers include azure-diagnostics, azure-prepare, azure-deploy, azure-validate, and azure-storage. Unlike those Azure skills, ansible-validator targets Ansible code quality, including FQCN usage and Molecule role testing.
More from akin-ozer/cc-devops-skills
All 31- Terragrunt Generator1.3K
- Ansible Generator976
- K8s Debug958
- Jenkinsfile Generator914
- Dockerfile Validator834
- Bash Script Validator788
- Dockerfile Generator785
- Gitlab Ci Validator771
- K8s Yaml Validator765
- Helm Validator762
- Bash Script Generator754
- Jenkinsfile Validator752
- Terragrunt Validator747
- K8s Yaml Generator737
- Github Actions Validator734
- Azure Pipelines Generator733
- Gitlab Ci Generator728
- Github Actions Generator727
- Terraform Generator726
- Azure Pipelines Validator723
- Terraform Validator723
- Helm Generator717
- Makefile Validator711
- Makefile Generator697
Similar to Ansible Validator
More DevOps & Cloudansible-generatorSkillakin-ozer/cc-devops-skills976 installsGenerates Ansible playbooks, roles, tasks, inventory, and project config with deterministic validation fallbacks.
terraform-validatorSkillakin-ozer/cc-devops-skills723 installsValidates Terraform/HCL files through formatting, linting, syntax, security scanning, and regression checks.
ansiblePluginTheBushidoCollective/han201 starsAnsible playbook validation and configuration management best practices
ansible-expertSkillpersonamanagmentlayer/pcl566 installsExpert Ansible guidance for playbooks, inventories, templates, variables, error handling, and Vault encryption.
Oh My Posh ValidatorMCP serverjandedobbeleer23.8K starsValidation of oh-my-posh prompt configurations and segment snippets against the official schema.
ci-cd-and-automationSkilladdyosmani/agent-skills76K installsAutomated quality gates and deployment pipelines that block any change failing lint, types, tests, build, or audit.