·ansible-validator
</>

ansible-validator

用於驗證、檢查、測試和自動化 Ansible 劇本、角色和集合的綜合工具包。在使用 Ansible 檔案(.yml、.yaml playbook、角色、清單)、驗證自動化程式碼、偵錯 playbook 執行、使用檢查模式執行空白運行測試或使用自訂模組和集合時,請使用此技能。

25安裝·0熱度·@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-11

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