Merge "Bump up Ansible supported versions"

This commit is contained in:
Zuul 2022-03-02 17:34:35 +00:00 committed by Gerrit Code Review
commit b2b013c1cf
4 changed files with 21 additions and 5 deletions

View File

@ -98,7 +98,7 @@
# Limit the version of ansible used by kolla-ansible to avoid new # Limit the version of ansible used by kolla-ansible to avoid new
# releases from breaking tested code. Changes to this limit should be # releases from breaking tested code. Changes to this limit should be
# tested. # tested.
- ansible>=2.10.0,<5.0 - ansible>=4,<6.0
- selinux - selinux
pip: pip:
name: "{{ (kolla_ansible_packages + kolla_ansible_venv_extra_requirements) | select | list }}" name: "{{ (kolla_ansible_packages + kolla_ansible_venv_extra_requirements) | select | list }}"

View File

@ -1,7 +1,7 @@
--- ---
- include: test-invalid-format.yml - import_playbook: test-invalid-format.yml
- include: test-mount.yml - import_playbook: test-mount.yml
- include: test-bootstrapped.yml - import_playbook: test-bootstrapped.yml
- hosts: localhost - hosts: localhost
connection: local connection: local

View File

@ -0,0 +1,16 @@
---
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

View File

@ -1,5 +1,5 @@
pbr>=2.0 # Apache-2.0 pbr>=2.0 # Apache-2.0
ansible>=2.10.0,<5.0 # GPLv3 ansible>=4,<6.0 # GPLv3
cliff>=3.1.0 # Apache cliff>=3.1.0 # Apache
netaddr!=0.7.16,>=0.7.13 # BSD netaddr!=0.7.16,>=0.7.13 # BSD
PyYAML>=3.10.0 # MIT PyYAML>=3.10.0 # MIT