Sign inSign up

jomrr/molecule-fedora

By jomrr

Updated 18 days ago

Fedora container images for testing Ansible roles with Molecule.

Image
Developer tools
Operating systems
0

1.9K

jomrr/molecule-fedora repository overview

Ansible Molecule Images for Fedora

This repository contains Ansible Molecule images for Fedora.

Images

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

Fedora Versions

The repository provides images for the following Fedora variants:

VersionImageTags
Fedora 43jomrr/molecule-fedora43
Fedora 44jomrr/molecule-fedora44, latest
Fedora Rawhidejomrr/molecule-fedora45, rawhide

Usage

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

Molecule docker driver

To use the Fedora latest image with the docker driver:

platforms:
  - name: instance
    image: "jomrr/molecule-fedora: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 Fedora latest image with the podman driver:

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

This will start a container with Fedora 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:1d59c0f6b

Size

139.6 MB

Last updated

18 days ago

docker pull jomrr/molecule-fedora