ansible-validator - Validate and audit Ansible code
Validates, lints, tests, debugs, and security-scans Ansible playbooks, roles, inventories, modules, and collections.
Tags
Updated: 2026-12-03Typical Inputs
What this skill does
- Validate YAML and Ansible syntax
- Lint Ansible code
- Run check-mode tests
- Run Molecule tests
- Scan security and secrets
- Inspect modules and collections
- Report blockers and remediation
Inputs
- Ansible playbooks, roles, and inventories
- Ansible collections and module metadata
- Optional Molecule scenarios
Outputs
- Validation status report
- Lint and security findings
- Molecule test results
- Tool and runtime blockers
- Remediation guidance
Requirements
- Shell command execution
- Ansible validation tools or Python with pip
- Docker or Podman for Molecule
- Checkov for security scanning
