什麼是 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