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:
parent
bfc4354905
commit
d0f72c6040
5
releasenotes/notes/bug-1882780-4e71976ce57a0d7c.yaml
Normal file
5
releasenotes/notes/bug-1882780-4e71976ce57a0d7c.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Do not require kolla-ansible to be installed (Stein only).
|
||||||
|
`LP#1882780 <https://launchpad.net/bugs/1882780>`__
|
@ -29,13 +29,6 @@ function check_environment_coherence {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
local ansible_version_output
|
||||||
ansible_full_version=$($ansible_python_cmdline -c 'import ansible; print(ansible.__version__)')
|
ansible_full_version=$($ansible_python_cmdline -c 'import ansible; print(ansible.__version__)')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user