Debian 12 (Bookworm) container image designed for testing Ansible playbooks and roles.
- Install Docker
- Pull this image:
docker pull ghcr.io/m18unet/docker-ansible-debian12:latest
- Run a container from the image:
-
Example 1:
docker run -it ghcr.io/m18unet/docker-ansible-debian12:latest
-
Example 2:
docker run -it \ --mount type=bind,source=<INVENTORY_FILE>,dst=/tmp/inventory.ini \ --mount type=bind,source=<PLAYBOOK_FILE>,dst=/tmp/playbook.yml \ ghcr.io/m18unet/docker-ansible-debian12:latest /tmp/playbook.yml --inventory /tmp/inventory.ini
Use on production servers/in the wild at your own risk!
- Integrate with Github Action