ansible-playbook
Skill8 starsChanged 5 months agoMITView on GitHub
开发或评审 Ansible Playbook、Role、任务、变量、模板和 handler,覆盖角色复用、幂等、收敛与失败传播。
2 other projects use a version of this.
Adopted by
Most recently taken up by
- nordz0r/skillstheir own version, first seen Oct 15, 2026
- realsigridjin/hello-ansible-skillstheir own version, first seen Jan 17, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- realsigridjin/hello-ansible-skills★ 89same name
- nordz0r/skills★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- animejsSkill
- sketch-animation-videoSkill
- sound-fx-for-videoSkill
- content_series_infographicSkill
- tech-article-seriesSkill
- gin-goSkill
- github-actionsSkill
- iac-hclSkill
- nodejs-nextjs-typescriptSkill
- postgresql-developmentSkill
- programming-paradigmsSkill
- python-shellSkill
- agent-team-harnessSkill
- ai-agent-collaboration-standardSkill
- ci-cd-workflow-specSkill
- config-as-code-specSkill
- execution-ownership-migrationSkill
- feature-lane-release-workflowSkill
- generation-upgrade-acceptanceSkill
- gitops-canonical-resource-deliverySkill
- harness-workflowSkill
- infrastructure-as-code-specSkill
- issue-pr-traceability-standardSkill
- multi-environment-delivery-and-releaseSkill
- project-development-standardSkill
- store-and-startup-homepage-specSkill
- zero-trust-overlay-deliverySkill
- it-infra-continuous-pngSkill
- image-svg-pptx-proSkill
- autoglm-websearchSkill
- blogwatcherSkill
- Browser AutomationSkill
- docxSkill
- find-skillsSkill
- image-cogSkill
- image-resizerSkill
- pdfSkill
- pptxSkill
- Self-Improving Agent (With Self-Reflection)Skill
- skill-security-checkSkill
- skill-vetterSkill
- video-translatorSkill
- wan-image-video-gen-editSkill
- xlsxSkill
- backup-disaster-recovery-and-data-migrationSkill
- capacity-cost-and-resource-lifecycleSkill
- github-actions-operational-dispatchSkill
- incident-response-and-change-managementSkill
- network-dns-tls-edge-managementSkill
- observability-slo-and-alertingSkill
- secrets-identity-and-access-governanceSkill
- service-catalog-and-runbook-standardSkill
- system-db-three-role-securitySkill
- unified-observability-architectureSkill
- vault-eso-tls-certificate-governanceSkill
- ai-tech-news-videoSkill
- ai-ti-wo-shuo-explainerSkill
- it-infra-evolution-videoSkill
- it-infra-evolution-video-v2Skill
- product-intro-videoSkill
- The first 60 shown.
The file
Files
Ansible Playbook / Role 开发规范
- 先读配置即代码规范,涉及系统或数据库运维同时先读三权分立。定位现有入口、Role 和 CMDB/inventory 来源,核对目标、变量优先级和权限边界。
- Playbook 组织目标、顺序与依赖,Role 封装稳定的主机能力,模板只负责渲染。通过明确参数复用现有 Role,分离共享默认值和环境专属输入。目标、秘密及环境差异沿用权威来源。
- 优先使用
ansible.builtin.*等现有幂等模块。配置确实变更时通过 handler 应用必要的 reload 或 restart。需调用命令时定义实际的 changed/failed 条件,并按仓库约定将复杂逻辑放入独立可测试的脚本或模块。 - 对步骤明确先决条件、变更顺序和失败后的可恢复状态。涉及多个入口时确认同一资源只有一个日常声明负责人,按执行归属规范划分宿主机、Compose 与 Kubernetes 的职责。
- 执行已有 syntax-check、lint 和受影响的 inventory 校验。check mode 按模块支持范围解读。需要证明收敛时,在授权的隔离目标执行两次,核对第二次实际变化和服务状态。按本次变更覆盖失败、重复执行及 handler 行为。角色契约、模板渲染和 syntax-check 可先验证局部行为。报告另行记录目标机收敛、进程状态及业务探测证据。
Role、变量和 YAML 键的命名按清单执行:新 Role 默认 snake_case,并跟随所在目录已有风格。变量名用下划线且表达用途。Playbook 保持可读的声明顺序,复杂判断放到所属 Role 内可测试的脚本,不堆进难以阅读的 Jinja 一行表达式。
参考 Ansible 检查模式及范式与模式选择。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

