什么是 ansible-validator?
用于验证、检查、测试和自动化 Ansible 剧本、角色和集合的综合工具包。在使用 Ansible 文件(.yml、.yaml playbook、角色、清单)、验证自动化代码、调试 playbook 执行、使用检查模式执行空运行测试或使用自定义模块和集合时,请使用此技能。 来源:akin-ozer/cc-devops-skills。
用于验证、检查、测试和自动化 Ansible 剧本、角色和集合的综合工具包。在使用 Ansible 文件(.yml、.yaml playbook、角色、清单)、验证自动化代码、调试 playbook 执行、使用检查模式执行空运行测试或使用自定义模块和集合时,请使用此技能。
通过命令行快速安装 ansible-validator AI 技能到你的开发环境
来源:akin-ozer/cc-devops-skills。
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.
IMPORTANT BEHAVIOR: When validating any Ansible role, this skill AUTOMATICALLY runs molecule tests if a molecule/ directory is detected in the role. This is non-negotiable and happens without asking for user permission. If molecule tests cannot run due to environmental issues (Docker, version compatibility), the skill documents the blocker but continues with other validation steps.
CRITICAL: Reference files are NOT optional. When issues are detected, the corresponding reference file MUST be read and its guidance applied to provide actionable remediation steps to the user. Simply mentioning the reference file path is insufficient - the content must be consulted and relevant guidance extracted.
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/akin-ozer/cc-devops-skills --skill ansible-validator用于验证、检查、测试和自动化 Ansible 剧本、角色和集合的综合工具包。在使用 Ansible 文件(.yml、.yaml playbook、角色、清单)、验证自动化代码、调试 playbook 执行、使用检查模式执行空运行测试或使用自定义模块和集合时,请使用此技能。 来源:akin-ozer/cc-devops-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/akin-ozer/cc-devops-skills --skill ansible-validator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/akin-ozer/cc-devops-skills