Do not require kolla-ansible to be installed

Stein only.

It seems the checks backport was not amended properly for Stein.
The installation requirement is only present (and documented)
since Train.

Change-Id: I1c723fb2b89adf48cba856beaac85cab37f07695
Closes-bug: #1882780
This commit is contained in:
Radosław Piliszek 2020-06-09 21:16:07 +02:00
parent bfc4354905
commit d0f72c6040
2 changed files with 5 additions and 7 deletions

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Do not require kolla-ansible to be installed (Stein only).
`LP#1882780 <https://launchpad.net/bugs/1882780>`__

View File

@ -29,13 +29,6 @@ function check_environment_coherence {
exit 1
fi
# Check for existence of kolla_ansible module using Ansible's Python.
if ! $ansible_python_cmdline -c 'import kolla_ansible' &>/dev/null; then
echo "ERROR: kolla_ansible has to be available in the Ansible PYTHONPATH." >&2
echo "Please install both in the same (virtual) environment." >&2
exit 1
fi
local ansible_version_output
ansible_full_version=$($ansible_python_cmdline -c 'import ansible; print(ansible.__version__)')