[CI] Temporarily block new Ansible
The proper fix [1] needs fixing older branches before newer. This one allows to fix CI first, in the usual order. To revert after [1] gets merged in all relevant branches. [1] https://review.opendev.org/745648 Change-Id: Ifbd37d8addd4322773118e2e9d46494741a8ae66 Related-Bug: #1891145 (cherry picked from commitb2a30ab500
) (cherry picked from commitcf733fdde6
)
This commit is contained in:
parent
d0aca1c2e3
commit
460066721c
|
@ -115,12 +115,12 @@ function setup_ansible {
|
|||
|
||||
# Test latest ansible version on Ubuntu, minimum supported on others.
|
||||
if [[ $BASE_DISTRO == "ubuntu" ]]; then
|
||||
ANSIBLE_VERSION=">=2.5,<2.10"
|
||||
ANSIBLE_VERSION=">=2.5,<2.10,!=2.9.12"
|
||||
# When upgrading from Rocky and earlier, we have to limit the version
|
||||
# due to version_compare being gone from Ansible 2.9
|
||||
# see https://review.opendev.org/692575 for change in Rocky
|
||||
if [[ $ACTION =~ "upgrade" ]]; then
|
||||
ANSIBLE_VERSION="$ANSIBLE_VERSION,<2.9"
|
||||
ANSIBLE_VERSION="$ANSIBLE_VERSION,<2.9,!=2.8.14"
|
||||
fi
|
||||
else
|
||||
ANSIBLE_VERSION="<2.6"
|
||||
|
|
Loading…
Reference in New Issue