ansible/ansible-lint
ansible-lint checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 4767
- days_rel: 21
- days_push: 7
- n_releases_24m: 36
Adoption not part of the score
3901 stars · 751 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ansible-lint is a command-line linter that checks Ansible playbooks and roles for practices and behavior that could be improved, and can automatically fix some common issues. It integrates with CI pipelines and pre-commit hooks, including an official GitHub Action.
Use cases
- lint ansible playbooks for best practices
- auto-fix common ansible playbook issues
- run ansible linting in CI on pull requests
- add ansible-lint as a pre-commit hook
- enforce ansible coding standards across a team
- check ansible roles and collections for style violations
When to choose
- you write or maintain Ansible playbooks, roles, or collections and want consistent quality
- you want automated Ansible checks in GitHub Actions or pre-commit
- you want a linter that can auto-fix some violations
When to avoid
- you don't use Ansible for configuration management
- you need general YAML linting only without Ansible-specific rules
- you need full infrastructure-as-code policy enforcement beyond Ansible
Facets
cli-tool · maturity active
linter cli ci-cd configuration-management developer-tools infrastructure-as-code python cli windows ansible playbooks pre-commit-hook github-action static-analysis iac devops automation linux macos docker
2 sources
- readme: https://github.com/ansible/ansible-lint · fetched 2026-08-28 · 601271fcbda9
- registry_pypi: https://pypi.org/pypi/ansible-lint/json · fetched 2026-08-29 · fdd6046b32ac
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ansible/ansible-lint | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="ansible/ansible-lint")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem