diff --git a/tests/integration/molecule.sh b/tests/integration/molecule.sh index 9fa32f77e..57545950a 100755 --- a/tests/integration/molecule.sh +++ b/tests/integration/molecule.sh @@ -22,7 +22,7 @@ fi # Install ansible version specific requirements if [ "$(printf '%s\n' "2.12" "$ansible_version" | sort -V | head -n1)" = "2.12" ]; then - python -m pip install molecule molecule-plugins[docker] + python -m pip install "molecule<6" molecule-plugins[docker] ansible-galaxy collection install git+https://github.com/ansible-collections/community.docker.git ansible-galaxy collection install -r "$collection_root/requirements.yml" elif [ "$(printf '%s\n' "2.10" "$ansible_version" | sort -V | head -n1)" = "2.10" ]; then