Skip to content
Snippets Groups Projects
Commit fb5649bd authored by Mark Goddard's avatar Mark Goddard
Browse files

Bump up Ansible supported versions

This change bumps up the maximum supported Ansible version to 5.x
(ansible-core 2.12.x) and minimum to 4.x. This synchronises Kayobe with
Kolla Ansible (see change Ia373f9cc3bb69eba0288bbb3e497e8cadb7cc4d3).

ansible 5 / ansible-core 2.12 raises the minimum version of Python to
3.8, so CentOS Stream 8 environments will typically get ansible 4 /
ansible-core 2.11.

Change-Id: If4477e7fa4c022ead6cda4a34a72b342f115936f
parent abb2edd8
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@
# Limit the version of ansible used by kolla-ansible to avoid new
# releases from breaking tested code. Changes to this limit should be
# tested.
- ansible>=2.10.0,<5.0
- ansible>=4,<6.0
- selinux
pip:
name: "{{ (kolla_ansible_packages + kolla_ansible_venv_extra_requirements) | select | list }}"
......
---
- include: test-invalid-format.yml
- include: test-mount.yml
- include: test-bootstrapped.yml
- import_playbook: test-invalid-format.yml
- import_playbook: test-mount.yml
- import_playbook: test-bootstrapped.yml
- hosts: localhost
connection: local
......
---
upgrade:
- |
Updates the maximum supported version of Ansible from 4.x (ansible-core
2.11) to 5.x (ansible-core 2.12). The minimum supported version is updated
from 2.10 to 4.x. This is true for both Kayobe and Kolla Ansible. Note that
environments with Python 3.7 or lower (e.g. CentOS Stream 8) will be
limited to Ansible 4.x (ansible-core 2.11).
- |
Upgrading directly from Ansible 2.10 to Ansible 4 or later is known to
cause problems. You should uninstall ``ansible`` and ``ansible-base``
before upgrading your Kayobe virtual environment:
.. code-block:: console
pip uninstall ansible ansible-base
pbr>=2.0 # Apache-2.0
ansible>=2.10.0,<5.0 # GPLv3
ansible>=4,<6.0 # GPLv3
cliff>=3.1.0 # Apache
netaddr!=0.7.16,>=0.7.13 # BSD
PyYAML>=3.10.0 # MIT
......
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