Use ansible 2.12 for testcases_prepare (#8763)
tests/requirements.txt links to tests/requirements-2.12.txt, so Kubespray uses ansible 2.12 by default for testing. However we forgot to update testcases_prepare.sh to use ansible 2.12. This updates testcases_prepare to use ansible 2.12.pull/8770/head
parent
26a0b0f1e8
commit
f184725c5f
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
: ${ANSIBLE_MAJOR_VERSION:=2.10}
|
: ${ANSIBLE_MAJOR_VERSION:=2.12}
|
||||||
|
|
||||||
/usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core
|
/usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core
|
||||||
/usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt
|
/usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt
|
||||||
|
|
Loading…
Reference in New Issue