Fix ansible version in install command

There are no 5.* versions of ansible for CentOS 8 Stream yet.
One should use pip install 'ansible>=4,<6' according to the
current documentation.

Closes-Bug: #1969617
Change-Id: Ie4f502f955dac5ae9ee8ddb4779c2fa2e26840d9
This commit is contained in:
Vladislav Belogrudov 2022-04-20 14:42:55 +03:00
parent 4fe8ef79c6
commit 7a6aeff403
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ If not installing Kolla Ansible in a virtual environment, skip this section.
.. code-block:: console
pip install 'ansible==5.*'
pip install 'ansible>=4,<6'
Install dependencies not using a virtual environment
----------------------------------------------------
@ -147,7 +147,7 @@ If installing Kolla Ansible in a virtual environment, skip this section.
.. note::
If the installed Ansible version does not meet the requirements, one can
use pip: ``sudo pip install -U 'ansible==5.*'``.
use pip: ``sudo pip install -U 'ansible>=4,<6'``.
Beware system package upgrades might interfere with that so it
is recommended to uninstall the system package first. One might be better
off with the virtual environment method to avoid this pitfall.

View File

@ -26,7 +26,7 @@ python virtual environment on the Ansible control host. For example:
source /path/to/venv/bin/activate
pip install -U pip
pip install kolla-ansible
pip install 'ansible==5.*'
pip install 'ansible>=4,<6'
deactivate
To use the virtual environment, it should first be activated: