Automic VaultAutomic Vault

brew

ansible-lint を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

ansible-lint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install ansible-lint

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install ansible-lint

MacPorts ports tree · sysutils/ansible-lint/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add ansible-lint

Alpine Linux edge package indexes · ansible-lint · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install ansible-lint

Debian stable package indexes · ansible-lint · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install python3-ansible-lint

Fedora Rawhide package metadata · python3-ansible-lint · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#ansible-lint

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

Arch Linux pacman確認済み · 92%
sudo pacman -S ansible-lint

Arch Linux sync databases · ansible-lint · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install ansible-lint

openSUSE Tumbleweed package metadata · ansible-lint · ソース: download.opensuse.org

概要

パッケージ概要

Checks ansible playbooks for practices and behaviour

コマンドとエイリアス

  • ansible-lint

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

保護ツール対応はまだ見つかっていません

ansible-lint に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ansible-lintcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版26.6.0
マネージャ更新日2026-07-01
ローカルデータOK
上流not checked
検出された最新未検出

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ansible-lint
バージョン26.6.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ansible-lint
ホームページhttps://ansible-lint.readthedocs.io/
リポジトリhttps://github.com/ansible/ansible-lint
上流ドキュメントhttps://docs.ansible.com/projects/lint
ライセンスMIT AND GPL-3.0-or-later
ソースアーカイブhttps://files.pythonhosted.org/packages/4c/e5/547e64cf118392fb4d02c179eb0cd86b06145bf7c8e18ab49cc6de5e9886/ansible_lint-26.6.0.tar.gz
最終更新2026-07-01T15:27:34Z
Pulseupdated
依存関係cryptography, libyaml, python@3.14, rpds-py
ビルド依存関係pkgconf, rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 6 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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