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:
parent
4fe8ef79c6
commit
7a6aeff403
@ -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.
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user