No description
  • Dockerfile 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
freesker fe1f857f56
All checks were successful
/ fetch-project (push) Successful in 18s
/ docker-build (push) Successful in 2m5s
💚 Passe la CI sur le runner ubuntu-24.04
Aucun runner ne porte plus le label docker (ni ubuntu-22.04) : le
pipeline ne démarrait jamais.
2026-10-27 00:33:46 +01:00
.forgejo/workflows 💚 Passe la CI sur le runner ubuntu-24.04 2026-10-27 00:33:46 +01:00
Dockerfile ⬆️ Passe l'image sur Debian trixie 2026-10-27 00:25:39 +01:00
README.md ⬆️ Passe l'image sur Debian trixie 2026-10-27 00:25:39 +01:00

Ansible

A docker image to run ansible

Build

git clone https://git.deditoolbox.fr/freesker/docker-ansible.git
cd docker-ansible
docker build -t freesker/docker-ansible:latest .

By default, the base container is debian/trixie and ansible is the Debian package (ansible 12 / ansible-core 2.19 on trixie).

To specify another debian version, you can do the following:

docker build -t freesker/docker-ansible:latest --build-arg="DEBIAN_TAG=trixie" .

Usage

# check the version
docker run freesker/docker-ansible:latest

# run a playbook
docker run -v $(pwd):/var freesker/docker-ansible:latest ansible-playbook /var/playbook.yml