From 64fba445995b4da5b443873b42ab54fdfbee43b2 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Wed, 22 May 2024 09:44:26 +0200 Subject: [PATCH] workaround https://github.com/ansible-community/molecule-plugins/issues/256 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5691e65..b672a1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -189,7 +189,7 @@ jobs: strategy: matrix: python_version: ["3.11"] - ansible_version: ["2.15", "2.16"] + ansible_version: ["2.16", "2.17"] molecule_test: ${{ fromJSON(inputs.molecule_tests) }} steps: - name: Check out code @@ -211,7 +211,7 @@ jobs: max_attempts: 3 command: | python -m pip install --upgrade pip - pip install --progress-bar off 'molecule>=24.2.0' 'molecule-plugins[docker]>=23.0.0' ansible-core~=${{ matrix.ansible_version }} + pip install --progress-bar off 'molecule>=24.2.0' 'molecule-plugins[docker]>=23.0.0' 'ansible-core<${{ matrix.ansible_version }}' if [ -f ansible_collections/${{ inputs.fqcn }}/requirements.txt ]; then echo "=== Installing python deps" pip install --progress-bar off -r ansible_collections/${{ inputs.fqcn }}/requirements.txt