diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index a6fb792..a2ccdac 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -7,7 +7,8 @@ platforms: - name: check_mk_agent-test-${MOLECULE_DISTRO:-almalinux8} image: cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest command: ${MOLECULE_DOCKER_COMMAND:-""} - volumes: [/sys/fs/cgroup:/sys/fs/cgroup:rw] + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:rw cgroupns_mode: host privileged: true pre_build_image: true diff --git a/molecule/http_direct/molecule.yml b/molecule/http_direct/molecule.yml index 8b08638..90d2f41 100644 --- a/molecule/http_direct/molecule.yml +++ b/molecule/http_direct/molecule.yml @@ -6,9 +6,12 @@ driver: platforms: - name: check_mk_agent-test-${MOLECULE_DISTRO:-almalinux8} image: cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest - volumes: [/sys/fs/cgroup:/sys/fs/cgroup:rw] + command: ${MOLECULE_DOCKER_COMMAND:-""} + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:rw cgroupns_mode: host privileged: true + pre_build_image: true provisioner: name: ansible log: true