Merge "Update minimum version of Ansible to 2.6"

This commit is contained in:
Zuul 2019-09-11 19:17:00 +00:00 committed by Gerrit Code Review
commit 04edf61e8d
4 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
---
docker_version_min: '1.10.0'
docker_py_version_min: '2.0.0'
ansible_version_min: '2.5.0'
ansible_version_min: '2.6.0'

View File

@ -90,7 +90,7 @@ If not installing Kolla Ansible in a virtual environment, skip this section.
pip install -U pip
#. Install `Ansible <http://www.ansible.com>`__. Currently, Kolla Ansible
requires Ansible 2.5+.
requires Ansible 2.6+.
.. code-block:: console
@ -122,7 +122,7 @@ If installing Kolla Ansible in a virtual environment, skip this section.
sudo pip install -U pip
#. Install `Ansible <http://www.ansible.com>`__. Currently, Kolla Ansible
requires Ansible 2.5+.
requires Ansible 2.6+.
For CentOS or RHEL, run:

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Updates the minimum required version of Ansible to 2.6.

View File

@ -113,9 +113,9 @@ function setup_ansible {
# Test latest ansible version on Ubuntu, minimum supported on others.
if [[ $BASE_DISTRO == "ubuntu" ]]; then
ANSIBLE_VERSION=">=2.5"
ANSIBLE_VERSION=">=2.6"
else
ANSIBLE_VERSION="<2.6"
ANSIBLE_VERSION="<2.7"
fi
# TODO(SamYaple): Move to virtualenv