·ansible-validator
</>

ansible-validator

用于验证、检查、测试和自动化 Ansible 剧本、角色和集合的综合工具包。在使用 Ansible 文件(.yml、.yaml playbook、角色、清单)、验证自动化代码、调试 playbook 执行、使用检查模式执行空运行测试或使用自定义模块和集合时,请使用此技能。

25安装·2热度·@akin-ozer

安装

$npx skills add https://github.com/akin-ozer/cc-devops-skills --skill ansible-validator

如何安装 ansible-validator

通过命令行快速安装 ansible-validator AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/akin-ozer/cc-devops-skills --skill ansible-validator
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:akin-ozer/cc-devops-skills。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-02-27
更新时间
2026-03-10

Browse more skills from akin-ozer/cc-devops-skills

快速解答

什么是 ansible-validator?

用于验证、检查、测试和自动化 Ansible 剧本、角色和集合的综合工具包。在使用 Ansible 文件(.yml、.yaml playbook、角色、清单)、验证自动化代码、调试 playbook 执行、使用检查模式执行空运行测试或使用自定义模块和集合时,请使用此技能。 来源:akin-ozer/cc-devops-skills。

如何安装 ansible-validator?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/akin-ozer/cc-devops-skills --skill ansible-validator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/akin-ozer/cc-devops-skills