macOS
brew install ansible-lintlocal Homebrew formula metadata
sudo port install ansible-lintMacPorts ports tree · sysutils/ansible-lint/Portfile · ソース: api.github.com
brew
ansible-lint のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install ansible-lintlocal Homebrew formula metadata
sudo port install ansible-lintMacPorts ports tree · sysutils/ansible-lint/Portfile · ソース: api.github.com
sudo apk add ansible-lintAlpine Linux edge package indexes · ansible-lint · ソース: dl-cdn.alpinelinux.org
sudo apt install ansible-lintDebian stable package indexes · ansible-lint · ソース: deb.debian.org
sudo dnf install python3-ansible-lintFedora Rawhide package metadata · python3-ansible-lint · ソース: dl.fedoraproject.org
nix profile install nixpkgs#ansible-lintnixpkgs package indexes · pkgs/by-name/an/ansible-lint/package.nix · ソース: api.github.com
sudo pacman -S ansible-lintArch Linux sync databases · ansible-lint · ソース: geo.mirror.pkgbuild.com
sudo zypper install ansible-lintopenSUSE Tumbleweed package metadata · ansible-lint · ソース: download.opensuse.org
概要
Checks ansible playbooks for practices and behaviour
履歴
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.
セキュリティ状態
ansible-lint に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.yaml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ansible-lint | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
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 |
| Pulse | updated |
| 依存関係 | 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 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-lintソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.