Automic VaultAutomic Vault

brew

Install ansible-builder with Homebrew, dnf, Nix, zypper

CLI tool for building Ansible Execution Environments (Containers). Version 3.1.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install ansible-builder

local Homebrew formula metadata

overview

Package summary

CLI tool for building Ansible Execution Environments (Containers)

Commands and aliases

  • ansible-builder

history

Project history and usage

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.

Project history

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

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: orange

infrastructure mutation or orchestration signal.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • infrastructure mutation or orchestration signal

Signals

  • text:container

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
ansible-buildercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.1.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:ansible-builder
Version3.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/ansible-builder
Homepagehttps://ansible-builder.readthedocs.io/
Repositoryhttps://github.com/ansible/ansible-builder
Upstream docshttps://ansible-builder.readthedocs.io/
LicenseApache-2.0
Source archivehttps://files.pythonhosted.org/packages/fe/6b/0525894e5dd510c3a67da0b8819209333ca939cfa94b7f0d3ef041a628ec/ansible_builder-3.1.1.tar.gz
Dependencieslibyaml, python@3.14, rpds-py
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

ansible-builder

nix profile install nixpkgs#ansible-builder
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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