# Installer ansible-builder avec Homebrew, dnf, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ansible-builder pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- dnf (92%):

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

  Preuve: 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

- Nix (92%):

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

  Preuve: 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
```

  Preuve: openSUSE Tumbleweed package metadata: ansible-builder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:ansible-builder
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ansible-builder>
- **Version:** 3.1.1
- **Résumé source:** CLI tool for building Ansible Execution Environments (Containers)
- **Page d'accueil:** <https://ansible-builder.readthedocs.io/>
- **Dépôt:** <https://github.com/ansible/ansible-builder>
- **Docs amont:** <https://ansible-builder.readthedocs.io/>
- **Licence:** Apache-2.0
- **Archive source:** <https://files.pythonhosted.org/packages/fe/6b/0525894e5dd510c3a67da0b8819209333ca939cfa94b7f0d3ef041a628ec/ansible_builder-3.1.1.tar.gz>
- **Généré:** 2026-07-08T07:18:31+00:00

## exécutables

- ansible-builder (cli)
- ansible-builder (alias)

## Dépendances

- libyaml
- python@3.14
- rpds-py

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 3.1.1
- données locales: OK
- dépôt amont: https://ansible-builder.readthedocs.io/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

infrastructure mutation or orchestration signal.

- **Risque Geiger:** orange / moyen
- 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
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ansible-builder
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- 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-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.2: normalized package name match | openSUSE Tumbleweed package metadata: ansible-builder from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | An Ansible execution environment builder | https://github.com/ansible/ansible-builder


## Liens liés

- [Cloud CLI packages](https://www.automicvault.com/fr/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/fr/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [amazon-ecs-cli](https://www.automicvault.com/fr/pkg/brew/amazon-ecs-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [colima](https://www.automicvault.com/fr/pkg/brew/colima/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [container](https://www.automicvault.com/fr/pkg/brew/container/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [container-canary](https://www.automicvault.com/fr/pkg/brew/container-canary/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [container-compose](https://www.automicvault.com/fr/pkg/brew/container-compose/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [container-structure-test](https://www.automicvault.com/fr/pkg/brew/container-structure-test/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [containerd](https://www.automicvault.com/fr/pkg/brew/containerd/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [crane](https://www.automicvault.com/fr/pkg/brew/crane/) - Shares av.db curated category or tags: cli, cloud-infrastructure, containers.
- [ansible-lint](https://www.automicvault.com/fr/pkg/brew/ansible-lint/) - Both packages touch the same language runtime or ecosystem. Shared terms: ansible, cli, cloud, cloud-infrastructure, infrastructure.
- [ansible-cmdb](https://www.automicvault.com/fr/pkg/brew/ansible-cmdb/) - Both packages touch the same language runtime or ecosystem. Shared terms: ansible, cli, cloud, cloud-infrastructure, infrastructure.
- [ansible-creator](https://www.automicvault.com/fr/pkg/brew/ansible-creator/) - Both packages touch the same language runtime or ecosystem. Shared terms: ansible, cli, cloud, cloud-infrastructure, infrastructure.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
