Automic VaultAutomic Vault

brew

Install ansible-lint with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Checks ansible playbooks for practices and behaviour. Version 26.6.0 via Homebrew; verified 2026-07-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ansible-lint

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install ansible-lint

MacPorts ports tree · sysutils/ansible-lint/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add ansible-lint

Alpine Linux edge package indexes · ansible-lint · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install ansible-lint

Debian stable package indexes · ansible-lint · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install python3-ansible-lint

Fedora Rawhide package metadata · python3-ansible-lint · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#ansible-lint

nixpkgs package indexes · pkgs/by-name/an/ansible-lint/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S ansible-lint

Arch Linux sync databases · ansible-lint · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install ansible-lint

openSUSE Tumbleweed package metadata · ansible-lint · source: download.opensuse.org

overview

Package summary

Checks ansible playbooks for practices and behaviour

Commands and aliases

  • ansible-lint

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020: ansible-lint 5.0 upgrade guidance begins documenting changed installation and dependency expectations.
  • 2021: Maintainer discussion calls out versioning pain in the project.
  • 2022: Ansible-lint v6.0.0 starts a release line that later grows large enough to motivate calendar-style versioning.
  • 2024: PyPI shows 24.x calendar-style ansible-lint releases.
  • 2026: GitHub releases and Homebrew package 26.x ansible-lint.

Related projects

  • ansible-core supplies the execution and syntax behavior that ansible-lint must track.
  • ansible-dev-tools bundles ansible-lint with other authoring tools.
  • Ansible Language Server and the VS Code extension surface ansible-lint diagnostics in editors.
  • yamllint is commonly paired with ansible-lint for YAML-level checks.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.ansible-lint.ansible-lint.yml.ansible-lint.yaml.config/ansible-lint.yml.config/ansible-lint.yaml

executables

Installed executables

CommandKindExposureNote
ansible-lintcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version26.6.0
manager updated2026-07-01
local dataok
upstreamnot checked
latest detectednot detected

https://ansible-lint.readthedocs.io/

install metadata

Package metadata

Package keybrew:ansible-lint
Version26.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ansible-lint
Homepagehttps://ansible-lint.readthedocs.io/
Repositoryhttps://github.com/ansible/ansible-lint
Upstream docshttps://docs.ansible.com/projects/lint
LicenseMIT AND GPL-3.0-or-later
Source archivehttps://files.pythonhosted.org/packages/4c/e5/547e64cf118392fb4d02c179eb0cd86b06145bf7c8e18ab49cc6de5e9886/ansible_lint-26.6.0.tar.gz
Last updated2026-07-01T15:27:34Z
Pulseupdated
Dependenciescryptography, libyaml, python@3.14, rpds-py
Build dependenciespkgconf, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameansible-lint
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

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-lint
  • Section: misc
  • Architecture: all
  • 16 dependencies
  • normalized package name match
  • Matched by: Ansible Lint
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ansible-lint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ansible-lint

nix profile install nixpkgs#ansible-lint
  • normalized package name match
  • Matched by: Ansible Lint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/an/ansible-lint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ansible-lint 6.17.2-1

lint tool for Ansible playbooks

https://github.com/ansible-community/ansible-lint

sudo apt install ansible-lint
  • Section: universe/misc
  • Architecture: all
  • 17 dependencies
  • normalized package name match
  • Matched by: Ansible Lint
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ansible-lint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ansible-lint 26.4.0-r0

check ansible playbooks

https://github.com/ansible/ansible-lint

sudo apk add ansible-lint
  • License: MIT
  • Architecture: x86_64
  • Source Package: ansible-lint
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Ansible Lint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ansible-lint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ansible-lint-pyc 26.4.0-r0

Precompiled Python bytecode for ansible-lint

https://github.com/ansible/ansible-lint

sudo apk add ansible-lint-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: ansible-lint
  • 1 dependencies
  • normalized package name match
  • Matched by: Ansible Lint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ansible-lint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

python3-ansible-lint 26.4.0-3.fc45

Best practices checker for Ansible

https://github.com/ansible/ansible-lint

sudo dnf install python3-ansible-lint
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ansible-lint
  • 4 dependencies
  • 6 provides
  • normalized package name match
  • Matched by: Ansible Lint
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-ansible-lint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

ansible-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-lint
  • License: GPL-3.0-or-later
  • Architecture: any
  • 12 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Ansible Lint
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ansible-lint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ansible-lint 26.4.0-2.1

Best practices checker for Ansible

https://github.com/ansible/ansible-lint

sudo zypper install ansible-lint
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ansible-lint
  • 18 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Ansible Lint
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ansible-lint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ansible-lint

sudo port install ansible-lint
  • normalized package name match
  • Matched by: Ansible Lint
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/ansible-lint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment