ansibleplaybooklinter

Validate Ansible playbooks and roles using the ansible-lint and yamllint APIs. Custom rule files can be used to enforce best practices around idempotency, variable naming, and handler usage.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ansibleplaybooklinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d41b66ce0d744eedbb090d296fca0a95993fe9b3a49023f01cc8097f51f45adc. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/ansible-playbook-linter-2 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Validate Ansible playbooks and roles using the ansible-lint and yamllint APIs. Custom rule files can be used to enforce best practices around idempotency, variable naming, and handler usage.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Ansible Playbook Linter"
slug: "ansible-playbook-linter-2"
version: "1.0.0"
displayName: "Ansible Playbook Linter"
summary: "使用ansible-lint和yamllint API验证Ansible playbook和角色。通过自定义规则配置文件强制执行幂等性、变量命名和处理器使用的最佳实践。"
license: "MIT"
description: "使用ansible-lint和yamllint API验证Ansible playbook和角色。通过自定义规则配置文件强制执行幂等性、变量命名和处理器使用的最佳实践。"
github_stars: 68364
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Templates & Workflows"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 68364

Ansible Playbook Linter

使用ansible-lint和yamllint API验证Ansible playbook和角色。通过自定义规则配置文件强制执行幂等性、变量命名和处理器使用的最佳实践。

安装

来自上游的要求和注意事项:

  • 临时任务执行、网络自动化和多节点编排。Ansible使复杂
  • 允许使用任何动态语言进行模块开发,而不仅仅是Python。

基本用法或入门笔记:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 Ansible playbook 和角色的自动化验证功能,满足 DevOps 和运维自动化场景的明确需求
  • 通过 ansible-lint 和 yamllint 强制执行幂等性、变量命名等最佳实践,具有实际工程价值
Trigger Precision95/100

Highlights

  • 触发词精准完整,明确指向 Ansible playbook 和角色的 lint 验证场景
Structure and Standards55/100

Areas to improve

  • description内容截断 Reported severity: Major

    安装说明部分存在无关内容混杂且中途断句结尾

    Recommendation: 清理安装说明,移除无关描述,补充完整的使用步骤和示例

  • 缺少When to Use/示例章节 Reported severity: Minor

    未提供具体的使用场景说明和执行示例

    Recommendation: 添加 When to Use 章节和端到端的使用示例

Highlights

  • frontmatter 结构基本完整,包含必要元数据
Execution Reliability50/100

Areas to improve

  • 工具来源/调用方式不明 Reported severity: Major

    提及使用 ansible-lint 和 yamllint API 但未说明如何调用

    Recommendation: 明确说明 API 调用方式、参数格式和依赖安装方法

  • 缺少异常处理 Reported severity: Minor

    未覆盖主要异常情况和错误处理机制

    Recommendation: 添加错误处理逻辑和用户反馈机制

Evidence Verifiability (mean of the first four)69/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.