ansible-lint

Install command:
brew install ansible-lint

Checks ansible playbooks for practices and behaviour

https://docs.ansible.com/projects/lint/

License: MIT AND GPL-3.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/ansible-lint.json

Formula code: ansible-lint.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 26.10.1

Revision: 1

Depends on:

cryptography 50.0.2 Cryptographic recipes and primitives for Python
libyaml 0.2.5 YAML Parser
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language
rpds-py 2026.9.1 Python bindings to Rust's persistent data structures

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit
rust 1.99.1 Safe, concurrent, practical language

Binaries: ansible-lint

GitHub Packages downloads:

Last 30 days29,075
Downloads1,130,864
Analytics install events (30 days)4,931
Downloads / install events (30 days)5.9×

Source: GitHub Packages, fetched 2026-11-08T00:53:57Z. Analytics dates: 2026-10-09 to 2026-11-08. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs4,92410,40646,599
Installs (--HEAD)71879
Installs on Request4,92410,40546,597
Installs on Request (--HEAD)71879
Build Errors4

Known vulnerabilities in the current version:

GHSA-2g95-wg33-c5x2 (medium) filelock: SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated ...
GHSA-6627-m3xw-93mp (medium) filelock: StrictSoftFileLock creates its claim directories without the lock mode, so another loca...
GHSA-69hj-f68j-2879 (medium) filelock: UnixFileLock truncates and chmods any regular file another user renames or hard-links o...
GHSA-9c4x-gm8v-wgc4 (medium) filelock: StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user create...
GHSA-9j6q-wvj5-jgjg (low) filelock: Symlink swap during SoftFileLock's writability check leaks whether a path exists and is...
GHSA-crv4-6mhj-j5jh (medium) filelock: SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a fi...
GHSA-cwqr-hh33-gh44 (medium) filelock ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of t...
GHSA-fj95-fr6c-h845 (medium) filelock: SoftReadWriteLock holder refresh writes through a hard link and hangs on a named pipe t...
GHSA-fq56-3cx3-fjxp (medium) filelock: SoftFileLock stale-lock break removes a live lock file on a reused inode number and adm...
GHSA-jqc4-5cvw-7w85 (medium) filelock: ReadWriteLock on the hard-link route deletes any directory another user renames onto it...
GHSA-m462-7rxw-wvpg (medium) filelock: StrictSoftFileLock follows a symbolic link swapped in at <path>.filelock and creates cl...
GHSA-rfpc-qcw5-3pc4 (medium) filelock: SoftFileLock removes a live holder's marker when another user forges the PID in a writa...
GHSA-v4x8-3wr5-3wq8 (high) filelock ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal...
GHSA-wfhq-q4j2-c37m (low) filelock: SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes loc...

Data from Homebrew/advisory-database. Run brew vulns ansible-lint for a live check.