# Ansible Playbook Linter

> Validates Ansible playbooks and roles using ansible-lint and yamllint APIs. Enforces best practices for idempotency, variable naming, and handler usage with custom rule profiles.

- Skill: `agentskillexchange/ansible-playbook-linter` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/ansible-playbook-linter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/ansible-playbook-linter/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/ansible-playbook-linter

---


# Ansible Playbook Linter

Validates Ansible playbooks and roles using ansible-lint and yamllint APIs. Enforces best practices for idempotency, variable naming, and handler usage with custom rule profiles.

## Installation

Requirements and caveats from upstream:
- ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex
- Allow module development in any dynamic language, not just Python.

Basic usage or getting-started notes:
- Power users and developers can run the devel branch, which has the latest
- in the Ansible community if you want to run the devel branch.

- Source: https://github.com/ansible/ansible
- Extracted from upstream docs: https://raw.githubusercontent.com/ansible/ansible/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/ansible-playbook-linter-2/)

