Opinionated Ansible Execution Environment (EE) examples for OpenShift, Kubernetes and libvirt-heavy automation workflows.
This repository contains several ready-to-build EE definitions based on ansible-builder.
The primary and most actively maintained variant is stable/default.
These Execution Environments are designed for real-world automation use cases, especially:
- OpenShift lifecycle automation (install/configure/integrate)
- Kubernetes administration workflows
- libvirt/KVM automation
- enterprise environments (Kerberos, LDAP, etc.)
- workstation + CI usage with Podman/ansible-navigator
They intentionally include commonly used CLI tooling (oc, kubectl, helm, etc.) to reduce friction in daily workflows.
| Path | Description |
|---|---|
| stable/default | Main EE (Debian-based), recommended for daily use |
| variants/rpm | RPM-based distributions (RHEL, AlmaLinux, Rocky Linux, UBI, Fedora) |
| variants/python | Python-version-focused variants |
If unsure, start with stable/default.
- podman (recommended) or docker
- ansible-builder (>= 3.x)
- make
Required for building Execution Environments locally.
If not already installed, install ansible-builder using pip:
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install ansible-builderAlternatively (system-wide):
pip install --user ansible-buildercd stable/default
make buildThese EEs are intentionally opinionated:
- include common tooling used in OpenShift/Kubernetes automation
- optimized for real workflows rather than minimal image size
- designed for workstation and CI usage
- built to work well with
ansible-navigator
Each directory contains its own Makefile:
cd variants/rpm
make helpRefer to the variant-specific README files for details.
- primarily tested on Debian-based workstations using Podman
- variants/python is the most actively maintained variant
- RHEL/CentOS variants may require repo adjustments depending on environment
- containerized automation may require SSH/kubeconfig mounting depending on workflow
Contributions are welcome. Please open an issue or PR if you want to:
- improve image structure
- update tooling versions
- add additional variants
- improve documentation
MIT License