LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ansible-validator - Validate and troubleshoot Ansible code

Validates, lints, tests, audits, and troubleshoots Ansible playbooks, roles, inventories, modules, and collections.

Tags

Updated: 2026-12-03
Ansiblevalidationlintingtestingsecurity scanningMoleculeYAMLinfrastructure as code

Capabilities

Validate YAML and Ansible syntaxLint Ansible codeRun Ansible check modeTest roles with Molecule

Typical Inputs

Ansible playbooksAnsible rolesInventories

Typical Outputs

Validation status reportLint findingsSyntax errors

What this skill does

  • Validate YAML and Ansible syntax
  • Lint Ansible code
  • Run Ansible check mode
  • Test roles with Molecule
  • Scan for security issues
  • Detect hardcoded secrets
  • Check module FQCN usage
  • Inspect collections and modules
  • Look up version-specific documentation
  • Report validation status and blockers

Inputs

  • Ansible playbooks
  • Ansible roles
  • Inventories
  • Ansible collections
  • YAML configuration files
  • Module and collection versions
  • Available runtime environment

Outputs

  • Validation status report
  • Lint findings
  • Syntax errors
  • Security findings
  • Molecule test results
  • Documentation-based remediation guidance
  • Blocked and skipped stage reasons
  • Recommended next actions

Requirements

  • Ansible tools
  • Python and pip for bootstrapping
  • ansible-lint
  • yamllint
  • Molecule and Docker or Podman for Molecule tests
  • Checkov for security scanning
  • Bash environment
  • Access to referenced documentation when external lookup is needed

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.