Skip to content
/ ansible Public

πŸ§‘πŸΌβ€πŸ”§ Unofficial Ansible image for `linux/amd64` and `linux/arm64`

License

Notifications You must be signed in to change notification settings

jyje/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Unofficial Ansible Docker Image

release test cron GitHub Repo stars

English / ν•œκ΅­μ–΄

πŸ§‘πŸΌβ€πŸ”§ This repository contains the CI pipeline for building an Ansible Docker image. It also provides a repository on ghcr.io for your DevOps usage. Supported architectures are linux/amd64, linux/arm64.

Important

This repository is not affiliated with the official Ansible project. This is a community-maintained project that provides a Docker image for Ansible users. The official Ansible project is maintained in 'ansible-community/ansible-build-data' repository. For more information about Ansible, visit the official website at https://ansible.readthedocs.io/projects/ansible-build-data

Getting Started

I don't recommend using the source code in this repository directly. Instead, you should use the built Docker image from the ghcr.io repository. The image is built automatically on every commit to the main branch and pushed to the ghcr.io repository.

To use the Ansible Docker image in your DevOps workflows, pull the image from the ghcr.io repository using the following command:

docker pull ghcr.io/jyje/ansible

CI Pipeline

The CI pipeline in this repository is responsible for building the Ansible Docker image. It can be customized to fit your specific requirements. The pipeline is triggered on every commit to the main branch and automatically builds and pushes the Docker image to the ghcr.io repository.

Usage

To use the Ansible Docker image in your DevOps workflows, follow these steps:

  1. (Optional) Pull the Docker image from the ghcr.io repository.
docker pull ghcr.io/jyje/ansible
  1. Run the Docker container using the pulled image.
docker run --rm -it ghcr.io/jyje/ansible # or
docker run --entrypoint sh --rm -it ghcr.io/jyje/ansible
  1. Execute your Ansible playbooks and tasks inside the running container.

Using Specific Version

You can use a specific version of the Ansible Docker image by specifying the version tag. For example, to use version v9.2.0, use the following command:

docker pull ghcr.io/jyje/ansible:v9.2.0

The list of available versions can be found on the ghcr.io repository.

Preinstalled Utilities

This image provides following utilities preinstalled:

- ansible >= 9.2.0
- python == 3.12.x
- pip

- curl
- git
- jq
- openssh-client
- vim
- wget