From 7a6aeff403d6b059629ba0f96a68de923cbec836 Mon Sep 17 00:00:00 2001 From: Vladislav Belogrudov <v.belogrudov@yadro.com> Date: Wed, 20 Apr 2022 14:42:55 +0300 Subject: [PATCH] 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 --- doc/source/user/quickstart.rst | 4 ++-- doc/source/user/virtual-environments.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user/quickstart.rst b/doc/source/user/quickstart.rst index a7b0bc6719..35415c670b 100644 --- a/doc/source/user/quickstart.rst +++ b/doc/source/user/quickstart.rst @@ -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. diff --git a/doc/source/user/virtual-environments.rst b/doc/source/user/virtual-environments.rst index c10958aa79..5bf780eec0 100644 --- a/doc/source/user/virtual-environments.rst +++ b/doc/source/user/virtual-environments.rst @@ -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: