Skip to content

Commit 290da76

Browse files
committed
feat: bring inline with other tests
1 parent 2c63294 commit 290da76

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/molecule.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
with:
1818
path: "${{ github.repository }}"
1919
- name: molecule
20-
uses: robertdebock/molecule-action@2.6.3
20+
uses: robertdebock/molecule-action@6.0.1
2121
with:
2222
command: lint
2323
test:
@@ -27,17 +27,20 @@ jobs:
2727
strategy:
2828
matrix:
2929
image:
30+
- geerlingguy/docker-ubuntu2404-ansible:latest
3031
- geerlingguy/docker-ubuntu2204-ansible:latest
3132
- geerlingguy/docker-ubuntu2004-ansible:latest
3233
- geerlingguy/docker-ubuntu1804-ansible:latest
34+
- geerlingguy/docker-centos9-ansible:latest
3335
- geerlingguy/docker-centos8-ansible:latest
36+
- geerlingguy/docker-centos7-ansible:latest
3437
steps:
3538
- name: checkout
36-
uses: actions/checkout@v2
39+
uses: actions/checkout@v4
3740
with:
3841
path: "${{ github.repository }}"
3942
- name: molecule
40-
uses: robertdebock/molecule-action@2.6.3
43+
uses: robertdebock/molecule-action@6.0.1
4144
with:
4245
image: "${{ matrix.image }}"
4346
options: parallel

meta/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ galaxy_info:
2020
versions:
2121
- 6
2222
- 7
23+
- 8
24+
- 9
2325
galaxy_tags: []
2426
dependencies: []

molecule/default/molecule.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ driver:
55
name: docker
66
platforms:
77
- name: instance
8-
image: ${MOLECULE_DOCKER_IMAGE:-'geerlingguy/docker-ubuntu1804-ansible:latest'}
8+
image: "geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest"
99
command: ${MOLECULE_DOCKER_COMMAND:-""}
10+
cgroupns_mode: host
1011
volumes:
11-
- /sys/fs/cgroup:/sys/fs/cgroup:ro
12+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
1213
privileged: true
1314
pre_build_image: true
1415
provisioner:

0 commit comments

Comments
 (0)