Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix, zypper 安装 ansible-builder

查看 ansible-builder 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ansible-builder

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install ansible-builder

Fedora Rawhide package metadata · ansible-builder · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#ansible-builder

nixpkgs package indexes · ansible-builder · 来源: raw.githubusercontent.com

openSUSE zypper已验证 · 92%
sudo zypper install ansible-builder

openSUSE Tumbleweed package metadata · ansible-builder · 来源: download.opensuse.org

概览

软件包摘要

CLI tool for building Ansible Execution Environments (Containers)

命令和别名

  • ansible-builder

历史

项目历史与用法

ansible-builder is the official Ansible tool for building execution environment container images. It turns an execution-environment definition file plus Ansible collections, Python requirements, system packages, and build steps into a reproducible image for automation controllers and command-line use.

项目历史

The official repository was created in 2020 as Ansible moved more automation runtime packaging into containerized execution environments. The README describes ansible-builder as a tool that automates building execution environments using schemas and tooling from Ansible collections and the user.

The documented execution environment definition evolved into a versioned YAML interface. Current docs describe `execution-environment.yml` or `.yaml` as the default definition file and document dependencies, images, build arguments, additional build files, and options such as `container_init` and `tags`.

采用历史

ansible-builder became important with Ansible Automation Platform and ansible-runner workflows, where playbooks need predictable Python, collection, and system dependencies inside a container image. Package managers carry it because users often prepare those images from developer workstations, CI jobs, or automation-controller build pipelines.

The Homebrew, Fedora, Nix, and openSUSE package entries reflect a cross-platform operational audience: people who already install Ansible tooling from OS package managers but need a dedicated CLI for execution environment images.

使用方式

The usual workflow is to write `execution-environment.yml`, list Ansible Galaxy collections, Python requirements, bindep or RPM packages, and image settings, then run `ansible-builder build` to produce a container image using a backend such as Podman or Docker.

For package metadata, the important config surface is the definition file rather than a user dotfile. Credentials are not normally owned by ansible-builder itself; registry logins, Galaxy credentials, and automation secrets live in the surrounding container or Ansible tooling.

为什么软件包爱好者会关心

ansible-builder is a packaging tool about packaging other automation dependencies. It sits at the boundary between Python packaging, Ansible collections, OS packages, and OCI container images, which makes it especially interesting to package maintainers.

It is also a good example of infrastructure tooling whose user-visible contract is a YAML schema. The CLI matters, but the package's long-term compatibility is mostly about what versions of the execution-environment schema it accepts.

时间线

  • 2020: The official ansible-builder repository is created.
  • 2021: 1.0.x releases establish the execution environment builder workflow.
  • 2022: 1.1 and 1.2 releases continue the first stable line.
  • 2023: 3.0.0 is released after beta and release-candidate builds.
  • 2026: The repository remains active under the Ansible GitHub organization.

Related projects

  • Ansible Automation Platform and AWX consume execution environment images built with this workflow.
  • ansible-runner is a related tool for running Ansible inside execution environments.
  • Podman, Docker, Ansible Galaxy, and collection metadata are common adjacent tools in ansible-builder workflows.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:container

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
execution-environment.ymlexecution-environment.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ansible-buildercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本3.1.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:ansible-builder
版本3.1.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ansible-builder
主页https://ansible-builder.readthedocs.io/
仓库https://github.com/ansible/ansible-builder
上游文档https://ansible-builder.readthedocs.io/
许可证Apache-2.0
源码归档https://files.pythonhosted.org/packages/fe/6b/0525894e5dd510c3a67da0b8819209333ca939cfa94b7f0d3ef041a628ec/ansible_builder-3.1.1.tar.gz
依赖libyaml, python@3.14, rpds-py
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

ansible-builder

nix profile install nixpkgs#ansible-builder
  • normalized package name match
  • 匹配方式:Ansible Builder
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ansible-builder from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
dnf95%

ansible-builder 3.1.1-2.fc45

A tool for building Ansible Execution Environments

https://ansible.readthedocs.io/projects/builder/en/stable/

sudo dnf install ansible-builder
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ansible-builder
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Ansible Builder
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ansible-builder from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

ansible-builder 3.1.1-2.2

An Ansible execution environment builder

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

sudo zypper install ansible-builder
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ansible-builder
  • 8 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Ansible Builder
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ansible-builder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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