Installs into .claude/skills of the current project.
Are you the author of Lint Ansible Playbooks And Roles Before Automation Breaks In Prod With Ansible Lint?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-lint-ansible-playbooks-and-roles-before-automation)
---
name: "Lint Ansible playbooks and roles before automation breaks in prod with ansible-lint"
slug: "lint-ansible-playbooks-and-roles-before-automation-breaks-in-prod-with-ansible-lint"
description: "Run ansible-lint against playbooks, roles, and collections so risky patterns and common mistakes are caught before automation is merged or executed."
github_stars: 3856
verification: "security_reviewed"
source: "https://github.com/ansible/ansible-lint"
author: "Ansible community"
publisher_type: "open_source"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "ansible/ansible-lint"
github_stars: 3856
---
# Lint Ansible playbooks and roles before automation breaks in prod with ansible-lint
Run ansible-lint against playbooks, roles, and collections so risky patterns and common mistakes are caught before automation is merged or executed.
## Prerequisites
Python, Ansible, ansible-lint
## Installation
Requirements and caveats from upstream:
- setup_python: If python should be installed. Default is true.
- python_version: The version of python to install. Default is 3.14.
Basic usage or getting-started notes:
- This action allows you to run ansible-lint on your codebase without having to
- yaml
- # .github/workflows/ansible-lint.yml
- Source: https://github.com/ansible/ansible-lint
- Extracted from upstream docs: https://raw.githubusercontent.com/ansible/ansible-lint/HEAD/README.md
## Documentation
- https://ansible.readthedocs.io/projects/lint/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/lint-ansible-playbooks-and-roles-before-automation-breaks-in-prod-with-ansible-lint/)