https://github.com/alancoding/zen-ee
Ansible execution environment with only the basics
https://github.com/alancoding/zen-ee
Last synced: 3 months ago
JSON representation
Ansible execution environment with only the basics
- Host: GitHub
- URL: https://github.com/alancoding/zen-ee
- Owner: AlanCoding
- License: mit
- Created: 2023-06-15T17:29:57.000Z (about 2 years ago)
- Default Branch: devel
- Last Pushed: 2024-10-24T03:00:49.000Z (8 months ago)
- Last Synced: 2025-02-05T07:13:11.657Z (5 months ago)
- Size: 23.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Minimal Ansible Execution Environment
This is meant to offer a consistently available image on Github Container Registry
with the minimal requirements for an EE.```
docker pull ghcr.io/alancoding/zen-ee:latest
```Go pull it and check.
```
docker run --rm --tty --interactive ghcr.io/alancoding/zen-ee /bin/bash
```And check `ansible --version` and `ansible-runner --version`.
You can also see it in the web interface here:
https://github.com/alancoding/bad-execution-environments/pkgs/container/zen-ee
The intent is to use the smallest possible configuration from ansible-builder v3.
That task, by itself, is fairly trivial, but to use an image in AWX
you usually need to publish it publicly, which adds notably to your problems
if you're busy trying to hack stuff.## History
For Ansible Automation Platform, there is an ee-minimal which is supported.
### Old image system
There used to be an upstream analog, which was the runner image itself.
https://quay.io/repository/ansible/ansible-runner
This image, along with many others in the pipeline, are no longer up-to-date,
because of structural changes in how ansible-builder works.In addition to ansible-runner, there has always been the awx-ee image,
which is still maintained and used by default by AWX today.https://quay.io/repository/ansible/awx-ee
So to recap, there used to be 2 public images that you could start using in AWX.
We still have 1, awx-ee, but we lost rolling builds of a _minimal_ image.
That is what this repo aims to provide.### Updated Official Images
Some months after builder v3 released,
an official source of a variety of community images emerged here:https://github.com/ansible-community/images
There is at least an attempt to move these to builder v3, but exact status
of vendored images is still something I'm researching.### Image Refreshes
See the github actions - this should be configured to push a new build every Friday.
If it fails, it should file an issue which will fire a github notification.
The aim is to avoid any scenario where this falls _months_ out of date.File an issue and `@` me if you want to get those notifications and help maintain.
### Ansible playbook update
I abandoned the idea of adding `ansible-rulebook` to this to make it
also be a Decision Environment.
This appears to require Java, and I can't think of anything less zen-like.As an alternative, I found this [repo](https://github.com/kubealex/eda-decision-environment) to work nicely,
its image is hosted at [quay.io/kubealex/eda-decision-env](quay.io/kubealex/eda-decision-env).