https://github.com/jgoos/image-ubi8-ansible-rulebook
Run ansible-rulebook in Container
https://github.com/jgoos/image-ubi8-ansible-rulebook
ansible ansible-rulebook container-image redhat8
Last synced: 3 months ago
JSON representation
Run ansible-rulebook in Container
- Host: GitHub
- URL: https://github.com/jgoos/image-ubi8-ansible-rulebook
- Owner: jgoos
- License: mit
- Created: 2023-01-14T19:27:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T14:12:13.000Z (over 2 years ago)
- Last Synced: 2025-01-23T06:45:33.984Z (5 months ago)
- Topics: ansible, ansible-rulebook, container-image, redhat8
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image-ubi8-ansible-rulebook
Use this repository to run `ansible-rulebook`, an event-driven automation tool, in a container.
The primary purpose of this image is to facilitate the development of a [custom rulebook plugin](https://ansible-rulebook.readthedocs.io/en/latest/sources.html#how-to-develop-a-custom-plugin).## Overview
This repository contains the necessary instructions to build a container image that runs the `ansible-rulebook` command. The image is based on the Universal Base Image (UBI) 8 and is built using podman.
- [ansible-rulebook](https://ansible-rulebook.readthedocs.io/en/latest/) documentation provides more information on the tool itself.
## Build Instructions
To build the container image, run the following command in the root of this repository:
``` bash
podman build -t ansible-rulebook .
```## Usage
Example command to run `ansible-rulebook` using the container image:
``` bash
podman run --rm localhost/ansible-rulebook:latest ansible-rulebook -h
```