# ansible-builder を Homebrew, dnf, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:ansible-builder
```

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

### macOS

- Homebrew (100%):

```sh
brew install ansible-builder
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install ansible-builder
```

  証拠: Fedora Rawhide package metadata: ansible-builder from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ansible-builder
```

  証拠: nixpkgs package indexes: ansible-builder from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install ansible-builder
```

  証拠: openSUSE Tumbleweed package metadata: ansible-builder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:ansible-builder
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.1.1
- **ソース概要:** CLI tool for building Ansible Execution Environments (Containers)
- **ホームページ:** <https://ansible-builder.readthedocs.io/>
- **最終更新:** 2026-07-15T09:44:06Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ansible-builder (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.1.1
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://ansible.readthedocs.io/projects/builder/en/latest/definition>
- <https://api.github.com/repos/ansible/ansible-builder>
- <https://api.github.com/repos/ansible/ansible-builder/releases>
- <https://docs.ansible.com/projects/builder/en/stable/>
- <https://raw.githubusercontent.com/ansible/ansible-builder/devel/README.md>
- source_facts.package-manager


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## 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

- Unix: execution-environment.yml, execution-environment.yaml
## 他のパッケージマネージャ記録

- Nix - ansible-builder: normalized package name match | nixpkgs package indexes: ansible-builder from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - ansible-builder - 3.1.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: ansible-builder from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A tool for building Ansible Execution Environments | https://ansible.readthedocs.io/projects/builder/en/stable/
- zypper - ansible-builder - 3.1.1-2.3: normalized package name match | openSUSE Tumbleweed package metadata: ansible-builder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An Ansible execution environment builder | https://github.com/ansible/ansible-builder


## Combined YAML source

View the package source record on GitHub. [combined/ansible-builder.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ansible-builder.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
