pkg.sopackage field notes

brew / rank 683

Install ansible-lint with Homebrew

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

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install ansible-lint

provider-native install command

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 bottle metadata was recorded.

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-lintexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version26.6.0
manager updated2026-07-15
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:ansible-lint
Version26.6.0
Package managerHomebrew
Homepagehttps://ansible-lint.readthedocs.io/
Last updated2026-07-15T15:22:46Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation