From fbe556c61a6009d3ff92f8f193455e391a123246 Mon Sep 17 00:00:00 2001 From: Jaden Seniuk Date: Tue, 4 Jun 2024 10:08:49 -0700 Subject: [PATCH 1/3] fix: update molecule --- .github/workflows/molecule.yml | 4 +++- molecule/default/molecule.yml | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index b884f03..01eb172 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -27,6 +27,8 @@ jobs: strategy: matrix: image: + - geerlingguy/docker-ubuntu2404-ansible:latest + - geerlingguy/docker-ubuntu2204-ansible:latest - geerlingguy/docker-ubuntu2004-ansible:latest - geerlingguy/docker-ubuntu1804-ansible:latest - geerlingguy/docker-ubuntu1604-ansible:latest @@ -38,7 +40,7 @@ jobs: with: path: "${{ github.repository }}" - name: molecule - uses: robertdebock/molecule-action@2.6.3 + uses: robertdebock/molecule-action@6.0.1 with: image: "${{ matrix.image }}" options: parallel diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index b08317e..30dcae3 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -7,12 +7,11 @@ platforms: - name: instance image: ${MOLECULE_DOCKER_IMAGE:-'geerlingguy/docker-ubuntu1804-ansible:latest'} command: ${MOLECULE_DOCKER_COMMAND:-""} + cgroupns_mode: host volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw privileged: true pre_build_image: true -# instance_raw_config_args: -# - "vm.network 'forwarded_port', guest: 80, host: 8088" provisioner: name: ansible playbooks: From 3679723a275f1438545e33d68c1587a9f40ad85f Mon Sep 17 00:00:00 2001 From: Jaden Seniuk Date: Tue, 4 Jun 2024 10:10:23 -0700 Subject: [PATCH 2/3] fix: role name check --- molecule/default/molecule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 30dcae3..82b581e 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -1,4 +1,5 @@ --- +role_name_check: 1s dependency: name: galaxy driver: From 16695b2f2e06ec6b0ac44973fef6a1b22d49795a Mon Sep 17 00:00:00 2001 From: Jaden Seniuk Date: Tue, 4 Jun 2024 10:14:26 -0700 Subject: [PATCH 3/3] fix: typo --- molecule/default/molecule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 82b581e..e0ab010 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -1,5 +1,5 @@ --- -role_name_check: 1s +role_name_check: 1 dependency: name: galaxy driver: