Skip to content

Commit 4833722

Browse files
committed
Update molecule.yml
1 parent 417ef53 commit 4833722

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

molecule/source/molecule.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
99
image: almalinux:8
1010
dockerfile: ../common/Dockerfile.j2
1111
privileged: true
12+
cgroupns_mode: host
1213
volumes:
1314
- /sys/fs/cgroup:/sys/fs/cgroup:rw
1415
command: /usr/sbin/init
@@ -23,20 +24,23 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
2324
image: alpine:3.14
2425
dockerfile: ../common/Dockerfile.j2
2526
privileged: true
27+
cgroupns_mode: host
2628
volumes:
2729
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2830
command: /sbin/init
2931
- name: alpine-3.15
3032
image: alpine:3.15
3133
dockerfile: ../common/Dockerfile.j2
3234
privileged: true
35+
cgroupns_mode: host
3336
volumes:
3437
- /sys/fs/cgroup:/sys/fs/cgroup:rw
3538
command: /sbin/init
3639
- name: alpine-3.16
3740
image: alpine:3.16
3841
dockerfile: ../common/Dockerfile.j2
3942
privileged: true
43+
cgroupns_mode: host
4044
volumes:
4145
- /sys/fs/cgroup:/sys/fs/cgroup:rw
4246
command: /sbin/init
@@ -58,6 +62,7 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
5862
image: centos:7
5963
dockerfile: ../common/Dockerfile.j2
6064
privileged: true
65+
cgroupns_mode: host
6166
volumes:
6267
- /sys/fs/cgroup:/sys/fs/cgroup:rw
6368
command: /usr/sbin/init
@@ -100,34 +105,39 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
100105
image: registry.access.redhat.com/ubi7/ubi:7.9
101106
dockerfile: ../common/Dockerfile.j2
102107
privileged: true
108+
cgroupns_mode: host
103109
volumes:
104110
- /sys/fs/cgroup:/sys/fs/cgroup:rw
105111
command: /usr/sbin/init
106112
- name: rhel-8
107113
image: redhat/ubi8:8.7
108114
dockerfile: ../common/Dockerfile.j2
109115
privileged: true
116+
cgroupns_mode: host
110117
volumes:
111118
- /sys/fs/cgroup:/sys/fs/cgroup:rw
112119
command: /usr/sbin/init
113120
- name: rhel-9
114121
image: redhat/ubi9:9.1.0
115122
dockerfile: ../common/Dockerfile.j2
116123
privileged: true
124+
cgroupns_mode: host
117125
volumes:
118126
- /sys/fs/cgroup:/sys/fs/cgroup:rw
119127
command: /usr/sbin/init
120128
- name: rockylinux-8
121129
image: rockylinux:8
122130
dockerfile: ../common/Dockerfile.j2
123131
privileged: true
132+
cgroupns_mode: host
124133
volumes:
125134
- /sys/fs/cgroup:/sys/fs/cgroup:rw
126135
command: /usr/sbin/init
127136
- name: rockylinux-9
128137
image: rockylinux:9.0.20220720
129138
dockerfile: ../common/Dockerfile.j2
130139
privileged: true
140+
cgroupns_mode: host
131141
volumes:
132142
- /sys/fs/cgroup:/sys/fs/cgroup:rw
133143
command: /usr/sbin/init
@@ -142,20 +152,23 @@ platforms: # Oracle Linux 7 works in local tests but bugs out in GitHub actions
142152
image: ubuntu:bionic
143153
dockerfile: ../common/Dockerfile.j2
144154
privileged: true
155+
cgroupns_mode: host
145156
volumes:
146157
- /sys/fs/cgroup:/sys/fs/cgroup:rw
147158
command: /sbin/init
148159
- name: ubuntu-focal
149160
image: ubuntu:focal
150161
dockerfile: ../common/Dockerfile.j2
151162
privileged: true
163+
cgroupns_mode: host
152164
volumes:
153165
- /sys/fs/cgroup:/sys/fs/cgroup:rw
154166
command: /sbin/init
155167
- name: ubuntu-jammy
156168
image: ubuntu:jammy
157169
dockerfile: ../common/Dockerfile.j2
158170
privileged: true
171+
cgroupns_mode: host
159172
volumes:
160173
- /sys/fs/cgroup:/sys/fs/cgroup:rw
161174
command: /sbin/init

0 commit comments

Comments
 (0)