From e0ed5a9445403a6df0f38c88ef5929bf572865c2 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Thu, 29 Jun 2023 16:15:46 +0200 Subject: [PATCH] feat: add debian 12 support --- README.md | 2 +- meta/main.yml | 2 +- molecule/default/molecule.yml | 10 ++++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 03e96f1..a5a00bf 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ Install and configure an simple mta with postfix * Ansible >= 2.9 * Debian - * Buster * Bullseye + * Bookworm ## Role variables diff --git a/meta/main.yml b/meta/main.yml index a07f47c..d7250c9 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -11,8 +11,8 @@ galaxy_info: platforms: - name: Debian versions: - - buster - bullseye + - bookworm galaxy_tags: - postfix diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 0507c53..58f7769 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -2,11 +2,12 @@ driver: name: docker platforms: - - name: debian10 - image: nishiki/debian10:molecule + - name: debian12 + image: nishiki/debian12:molecule privileged: true volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host command: /bin/systemd capabilities: - SYS_ADMIN @@ -14,7 +15,8 @@ platforms: image: nishiki/debian11:molecule privileged: true volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host command: /bin/systemd capabilities: - SYS_ADMIN