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