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..e0ab010 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -1,4 +1,5 @@ --- +role_name_check: 1 dependency: name: galaxy driver: @@ -7,12 +8,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: