diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index cc7dd9b..b630698 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -32,24 +32,21 @@ jobs: scenario: - default distros: - - debian10 - debian11 - debian12 - - fedora34 - fedora35 - fedora36 - - ubuntu1804 - ubuntu2004 - ubuntu2204 releases: - stable - beta versions: - - "1.60.0" + - "1.67.0" - "" steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: "${{ github.repository }}" - name: Workaround Git Security Warning @@ -57,7 +54,7 @@ jobs: # Workaround a bug in github actions: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: molecule - uses: robertdebock/molecule-action@4.0.9 + uses: robertdebock/molecule-action@6.0.1 env: MOLECULE_DISTRO: "${{ matrix.distros }}" TEST_RELEASE: "${{ matrix.releases }}" @@ -73,3 +70,4 @@ jobs: uses: robertdebock/galaxy-action@1.2.1 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} + git_branch: main diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 2fedf41..882ab88 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -12,7 +12,8 @@ platforms: image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest" command: ${MOLECULE_DOCKER_COMMAND:-""} volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host privileged: true pre_build_image: true provisioner: diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 708d5bc..0000000 --- a/tox.ini +++ /dev/null @@ -1,27 +0,0 @@ -# -# Ansible managed -# -[tox] -minversion = 4.2.4 -envlist = py{310}-ansible{6,7,8} - -skipsdist = true - -[testenv] -deps = - -rrequirements.txt - ansible6: ansible == 6.* - ansible7: ansible == 7.* - ansible8: ansible == 8.* -commands = molecule test -setenv = - TOX_ENVNAME={envname} - PY_COLORS=1 - ANSIBLE_FORCE_COLOR=1 - ANSIBLE_ROLES_PATH=../ - -passenv = - namespace - image - tag - DOCKER_HOST