Ubuntu 20.04 "Focal Fossa" based image intended for Ansible role testing using Molecule.
APACHE-2.0 License
Ubuntu 20.04 "Focal Fossa" based image intended for Ansible role testing using Molecule.
This image is built automatically on each commit to the main
branch, and published on the Docker Hub as havlasme/ubuntu20-systemd-ansible:latest
.
To use this image in Molecule scenario, update the platforms
section in the molecule.yml
.
platforms:
- name: <rolename>-ubuntu-focal
image: docker.io/havlasme/ubuntu20-systemd-ansible:latest
pre_build_image: true
command: '/lib/systemd/systemd'
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
To build the image locally simply run:
make build
To customize the image name, namespace, or version update the respective variable.
make build IMAGENAME=ubuntu20-systemd-ansible NAMESPACE=havlasme VERSION=latest
Created in 2024 by Tomáš Havlas.