From 03cf8347e717201e89f5777c80210d68f06c643e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Thu, 25 May 2023 08:55:14 +0100 Subject: [PATCH] Cap ansible-compat in GitHub workflow ansible-compat 4 includes breaking changes which are incompatible with older versions of Molecule. Compatibility should be restored in the Molecule 5.x line but this also contains backwards incompatible changes which should be reviewed --- .github/workflows/molecule.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 93d95cf3..98c63c5e 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -34,7 +34,8 @@ jobs: with: python-version: '3.9' - name: Install Ansible & Molecule + # TODO: review upgrade to Molecule 5.x run: pip install "ansible<8" ansible-lint flake8 \ - "molecule<5" molecule-plugins[docker] pytest-testinfra + "molecule<5" "ansible-compat<4" molecule-plugins[docker] pytest-testinfra - name: Run Molecule run: cd ansible && molecule test -s "${{ matrix.scenario }}"