feat: implement molecule to test role #4

Merged
giacchetta merged 17 commits from 3-test-and-tag into main 2026-03-11 13:50:02 +00:00
2 changed files with 16 additions and 2 deletions
Showing only changes of commit 022bb0ab28 - Show all commits

View File

@@ -0,0 +1,13 @@
FROM docker.io/library/debian:stable
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
systemd \
systemd-sysv \
dbus \
ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
CMD ["/usr/sbin/init"]

View File

@@ -10,8 +10,9 @@ driver:
platforms:
- name: instance
image: docker.io/geerlingguy/docker-debian12-ansible:latest
pre_build_image: true
image: docker.io/library/debian:stable
pre_build_image: false
dockerfile: Dockerfile
privileged: true
systemd: always
command: /usr/sbin/init