Merge "Bump up Ansible supported versions to 6.x/7.x"

This commit is contained in:
Zuul 2023-05-25 14:13:46 +00:00 committed by Gerrit Code Review
commit 6fd558a1f0
4 changed files with 10 additions and 2 deletions

View File

@ -24,7 +24,8 @@ kolla_ansible_venv_extra_requirements: []
# Pip requirement specifier for the ansible package. NOTE: This limits the
# version of ansible used by kolla-ansible to avoid new releases from breaking
# tested code. Changes to this limit should be tested.
kolla_ansible_venv_ansible: 'ansible>=5,<7.0'
kolla_ansible_venv_ansible: 'ansible>=6,<8.0'
kolla_ansible_venv_ansible_core: 'ansible-core>=2.13,<=2.14.2'
# Path to a requirements.yml file for Ansible collections.
kolla_ansible_requirements_yml: "{{ kolla_ansible_venv }}/share/kolla-ansible/requirements.yml"

View File

@ -95,6 +95,7 @@
{% else %}
kolla-ansible=={{ kolla_openstack_release }}
{% endif %}
- "{{ kolla_ansible_venv_ansible_core }}"
- "{{ kolla_ansible_venv_ansible }}"
- selinux
pip:

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
Updates the maximum supported version of Ansible from 6.x (ansible-core
2.13) to 7.x (ansible-core 2.14). The minimum supported version is updated
from 5.x to 6.x. This is true for both Kayobe and Kolla Ansible.

View File

@ -1,6 +1,6 @@
pbr>=2.0 # Apache-2.0
Jinja2>3 # BSD
ansible>=5,<7.0 # GPLv3
ansible>=6,<8.0 # GPLv3
cliff>=3.1.0 # Apache
netaddr!=0.7.16,>=0.7.13 # BSD
PyYAML>=3.10.0 # MIT