macOS
brew install ansible-lintlocal Homebrew formula metadata
sudo port install ansible-lintMacPorts ports tree · sysutils/ansible-lint/Portfile · source: api.github.com
brew
Checks ansible playbooks for practices and behaviour. Version 26.6.0 via Homebrew; verified 2026-07-01.
install
brew install ansible-lintlocal Homebrew formula metadata
sudo port install ansible-lintMacPorts ports tree · sysutils/ansible-lint/Portfile · source: api.github.com
sudo apk add ansible-lintAlpine Linux edge package indexes · ansible-lint · source: dl-cdn.alpinelinux.org
sudo apt install ansible-lintDebian stable package indexes · ansible-lint · source: deb.debian.org
sudo dnf install python3-ansible-lintFedora Rawhide package metadata · python3-ansible-lint · source: dl.fedoraproject.org
nix profile install nixpkgs#ansible-lintnixpkgs package indexes · pkgs/by-name/an/ansible-lint/package.nix · source: api.github.com
sudo pacman -S ansible-lintArch Linux sync databases · ansible-lint · source: geo.mirror.pkgbuild.com
sudo zypper install ansible-lintopenSUSE Tumbleweed package metadata · ansible-lint · source: download.opensuse.org
overview
Checks ansible playbooks for practices and behaviour
history
Ansible-lint is the standard linting and policy-checking tool for Ansible playbooks, roles, and collections. It checks content for practices and behavior that can be improved and is now part of the Ansible developer-tooling workflow.
The project lives under the ansible GitHub organization and its README describes it as a community-backed project that supports the last two major Ansible versions. Official documentation covers configuration files, profiles, rule behavior, usage, and CI integration.
Ansible-lint has gone through several packaging and versioning eras. The PyPI release history shows older 6.x releases, later 24.x calendar-style releases, and current 26.x releases. Maintainer discussions document the pain around historical versioning and the move toward a clearer release cadence.
Ansible-lint became the default quality gate for Ansible content because it encodes conventions that are hard to remember during playbook authoring: rule profiles, syntax checks, risky module usage, task style, role/collection layout, and compatibility concerns.
Its adoption broadened when the repository added a GitHub Action workflow example and editor integrations began surfacing lint feedback through the Ansible VS Code extension and the Ansible Language Server. Red Hat documentation and blogs present it as a way to improve automation functionality, reliability, readability, and maintainability.
Users normally run `ansible-lint` from the root of a project or collection. Configuration is loaded from `.ansible-lint`, `.ansible-lint.yml`, `.ansible-lint.yaml`, `.config/ansible-lint.yml`, or `.config/ansible-lint.yaml`, and scalar CLI options override configured values.
In CI, teams commonly use ansible-lint as a pull-request gate or GitHub Action. Locally, it is also part of editor feedback loops through VS Code and LSP clients, often paired with ansible-core, yamllint, and collection dependency installation.
For package managers, ansible-lint is one of the important Ansible leaf tools: it is not the runtime automation engine, but many repositories treat it as mandatory infrastructure for accepting changes. That makes version pinning and compatibility with ansible-core unusually visible.
It also exposes the tension in Ansible packaging after the split between the Ansible community package, ansible-core, and collections. A linter must understand all of those moving parts while still being installable as one CLI.
security posture
No matching local secret-handling manifest was found for ansible-lint. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.ansible-lint.ansible-lint.yml.ansible-lint.yaml.config/ansible-lint.yml.config/ansible-lint.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ansible-lint | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://ansible-lint.readthedocs.io/
install metadata
| Package key | brew:ansible-lint |
|---|---|
| Version | 26.6.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ansible-lint |
| Homepage | https://ansible-lint.readthedocs.io/ |
| Repository | https://github.com/ansible/ansible-lint |
| Upstream docs | https://docs.ansible.com/projects/lint |
| License | MIT AND GPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/4c/e5/547e64cf118392fb4d02c179eb0cd86b06145bf7c8e18ab49cc6de5e9886/ansible_lint-26.6.0.tar.gz |
| Last updated | 2026-07-01T15:27:34Z |
| Pulse | updated |
| Dependencies | cryptography, libyaml, python@3.14, rpds-py |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ansible-lint |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ansible-lint 25.6.1+really25.2.1-1
lint tool for Ansible playbooks
https://github.com/ansible-community/ansible-lint
sudo apt install ansible-lintansible-lint
nix profile install nixpkgs#ansible-lintansible-lint 6.17.2-1
lint tool for Ansible playbooks
https://github.com/ansible-community/ansible-lint
sudo apt install ansible-lintansible-lint 26.4.0-r0
check ansible playbooks
https://github.com/ansible/ansible-lint
sudo apk add ansible-lintansible-lint-pyc 26.4.0-r0
Precompiled Python bytecode for ansible-lint
https://github.com/ansible/ansible-lint
sudo apk add ansible-lint-pycpython3-ansible-lint 26.4.0-3.fc45
Best practices checker for Ansible
https://github.com/ansible/ansible-lint
sudo dnf install python3-ansible-lintansible-lint 26.4.0-1
Checks playbooks for practices and behaviour that could potentially be improved.
https://github.com/ansible/ansible-lint
sudo pacman -S ansible-lintansible-lint 26.4.0-2.1
Best practices checker for Ansible
https://github.com/ansible/ansible-lint
sudo zypper install ansible-lintansible-lint
sudo port install ansible-lintsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.