Sign inSign up

jomrr/molecule-opensuse-leap

By jomrr

•Updated 21 days ago

OpenSUSE Leap container images for testing Ansible roles with Molecule.

Image
Developer tools
Operating systems
0

1.5K

jomrr/molecule-opensuse-leap repository overview

⁠Ansible Molecule Images for OpenSUSE Leap

This repository contains Ansible Molecule⁠ images for OpenSUSE Leap.

⁠Images

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

⁠OpenSUSE Leap Versions

The repository provides images for the following OpenSUSE Leap variants:

VersionImageTags
OpenSUSE Leap 15.6jomrr/molecule-opensuse-leap15.6, 15
OpenSUSE Leap 16.0jomrr/molecule-opensuse-leap16.0, 16, latest

⁠Usage

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

⁠Molecule docker driver

To use the OpenSUSE Leap latest image with the docker driver:

platforms:
  - name: instance
    image: "jomrr/molecule-opensuse-leap:latest"
    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 OpenSUSE Leap latest image with the podman driver:

platforms:
  - name: instance
    image: "docker.io/jomrr/molecule-opensuse-leap:latest"
    pre_build_image: true
    override_command: false
    systemd: "true"

This will start a container with OpenSUSE Leap latest 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:b4fc03847…

Size

153.6 MB

Last updated

21 days ago

docker pull jomrr/molecule-opensuse-leap