Sign inSign up

jomrr/molecule-debian

By jomrr

Updated 17 days ago

Debian container images for testing Ansible roles with Molecule.

Image
0

3.0K

jomrr/molecule-debian repository overview

Ansible Molecule Images for Debian

This repository contains Ansible Molecule images for Debian.

Images

The images in this repository are based on debian and include systemd and Python and the according package manager and libraries, making them suitable for testing Ansible roles with Molecule.

Debian Versions

The repository provides images for the following Debian variants:

VersionImageTags
Debian 11 (Bullseye)jomrr/molecule-debianbullseye, 11, oldoldstable
Debian 12 (Bookworm)jomrr/molecule-debianbookworm, 12, oldstable
Debian 13 (Trixie)jomrr/molecule-debiantrixie, 13, latest, stable
Debian Sid (Unstable)jomrr/molecule-debiansid, unstable
Debian Testingjomrr/molecule-debiantesting

Usage

To use these images in Molecule, reference them in your molecule.yml.

Molecule docker driver

To use the Debian stable image with the docker driver:

platforms:
  - name: instance
    image: "jomrr/molecule-debian:stable"
    privileged: true
    pre_build_image: true
    override_command: false
    tmpfs:
      - /run
      - /tmp
    tty: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:rw
Molecule podman driver

To use the Debian stable image with the podman driver:

platforms:
  - name: instance
    image: "docker.io/jomrr/molecule-debian:stable"
    pre_build_image: true
    override_command: false
    systemd: "true"

This will start a container with Debian stable and systemd as pid 1, which you can then use for testing your Ansible roles.

License

These images are released under the MIT License.

Author

Created and maintained by Jonas Mauer.

Source

Source repository: github.com/jomrr/ansible-molecule-images

Tag summary

Content type

Image

Digest

sha256:d2629ecd4

Size

110.7 MB

Last updated

17 days ago

docker pull jomrr/molecule-debian