From be0c40dcaf2b7496809eb6c9ef685c3ce861f856 Mon Sep 17 00:00:00 2001 From: Dzmitry Rudnouski Date: Tue, 29 Nov 2022 20:52:33 +0300 Subject: [PATCH] ubuntu 20 --- molecule/default/molecule.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index ddba00b4e..1c4d149f6 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -9,11 +9,11 @@ lint: | yamllint . -c .yamllint ansible-lint . -c .ansible-lint platforms: - - name: test-docker-centos7-sonarqube + - name: centos7 image: leandelivery/docker-systemd:centos7 privileged: true - - name: test-docker-ubuntu18.04-sonarqube + - name: ubuntu18.04 image: leandelivery/docker-systemd:ubuntu-18.04 privileged: true security_opts: @@ -25,8 +25,19 @@ platforms: - /run capabilities: - SYS_ADMIN - groups: - - python3 + + - name: ubuntu20.04 + image: leandelivery/docker-systemd:ubuntu-20.04 + privileged: true + security_opts: + - seccomp=unconfined + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro + tmpfs: + - /tmp + - /run + capabilities: + - SYS_ADMIN provisioner: name: ansible log: true