Skip to content
Snippets Groups Projects
Commit 7a6aeff4 authored by Vladislav Belogrudov's avatar Vladislav Belogrudov
Browse files

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
parent 4fe8ef79
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ If not installing Kolla Ansible in a virtual environment, skip this section. ...@@ -96,7 +96,7 @@ If not installing Kolla Ansible in a virtual environment, skip this section.
.. code-block:: console .. code-block:: console
pip install 'ansible==5.*' pip install 'ansible>=4,<6'
Install dependencies not using a virtual environment Install dependencies not using a virtual environment
---------------------------------------------------- ----------------------------------------------------
...@@ -147,7 +147,7 @@ If installing Kolla Ansible in a virtual environment, skip this section. ...@@ -147,7 +147,7 @@ If installing Kolla Ansible in a virtual environment, skip this section.
.. note:: .. note::
If the installed Ansible version does not meet the requirements, one can 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 Beware system package upgrades might interfere with that so it
is recommended to uninstall the system package first. One might be better is recommended to uninstall the system package first. One might be better
off with the virtual environment method to avoid this pitfall. off with the virtual environment method to avoid this pitfall.
......
...@@ -26,7 +26,7 @@ python virtual environment on the Ansible control host. For example: ...@@ -26,7 +26,7 @@ python virtual environment on the Ansible control host. For example:
source /path/to/venv/bin/activate source /path/to/venv/bin/activate
pip install -U pip pip install -U pip
pip install kolla-ansible pip install kolla-ansible
pip install 'ansible==5.*' pip install 'ansible>=4,<6'
deactivate deactivate
To use the virtual environment, it should first be activated: To use the virtual environment, it should first be activated:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment