From c0d49e2c5d36e1710ebef667b5f960fde269cac0 Mon Sep 17 00:00:00 2001 From: diademiemi Date: Tue, 12 Mar 2024 15:47:34 -0400 Subject: [PATCH] Switch to docker driver for molecule tests --- molecule/default/molecule.yml | 38 +++++++++++++++++------------------ requirements.txt | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 9236e23..3208d9a 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -2,15 +2,15 @@ dependency: name: galaxy driver: - name: podman + name: docker platforms: - name: ubuntu2004 image: docker.io/geerlingguy/docker-ubuntu2004-ansible pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -21,8 +21,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -33,8 +33,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -45,8 +45,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -57,8 +57,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -69,8 +69,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -81,8 +81,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -93,8 +93,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host @@ -105,8 +105,8 @@ platforms: pre_build_image: true systemd: true tmpfs: - "/tmp": "rw,exec,mode=1777" - "/run": "rw,noexec,nosuid,nodev" + - /tmp + - /run volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro cgroupns_mode: host diff --git a/requirements.txt b/requirements.txt index 4616954..52c12f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ ansible-compat antsibull-changelog antsibull-docs molecule -molecule-plugins[podman] +molecule-plugins[docker] jmespath