From a5a31223c0a159d1f5b56ff6339641b663c57bd5 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Thu, 29 Jun 2023 14:49:32 +0200 Subject: [PATCH] feat: add debian 12 support --- README.md | 2 +- meta/main.yml | 2 +- molecule/default/molecule.yml | 16 +++++++++++++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b7b7737..e23d8bf 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Install and configure MariaDB * Ansible >= 2.9 * Debian - * Buster * Bullseye + * Bookworm ## Role variables diff --git a/meta/main.yml b/meta/main.yml index 6f68fab..d060156 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -11,8 +11,8 @@ galaxy_info: platforms: - name: Debian versions: - - buster - bullseye + - bookworm galaxy_tags: - database diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index bd0f043..5a5a58f 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -2,19 +2,29 @@ driver: name: docker platforms: + - name: debian12 + image: nishiki/debian12:molecule + privileged: true + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host + command: /bin/systemd + capabilities: + - SYS_ADMIN - name: debian11 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 provisioner: inventory: host_vars: - debian11: - mariadb_use_official_repository: yes + debian12: + mariadb_use_official_repository: false lint: | set -e yamllint .