ansible: bump min version to 2.14 and max to 2.15

Change-Id: Ia982df80d688522dbaa5fc3e462c1a009d512cb6
This commit is contained in:
Michal Nasiadka 2023-06-28 21:57:51 +02:00
parent 9a9c8fe794
commit 71dd6eb983
4 changed files with 13 additions and 8 deletions

View File

@ -1,8 +1,8 @@
--- ---
docker_version_min: '18.09' docker_version_min: '18.09'
docker_py_version_min: '3.4.1' docker_py_version_min: '3.4.1'
ansible_version_min: '2.13' ansible_version_min: '2.14'
ansible_version_max: '2.14' ansible_version_max: '2.15'
# Top level keys should match ansible_facts.distribution. # Top level keys should match ansible_facts.distribution.
# These map to lists of supported releases (ansible_facts.distribution_release) or # These map to lists of supported releases (ansible_facts.distribution_release) or

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Minimum supported Ansible version is now ``7`` (ansible-core 2.14)
and maximum supported is ``8`` (ansible-core 2.15).

View File

@ -244,13 +244,13 @@
- name: install kolla-ansible and dependencies - name: install kolla-ansible and dependencies
vars: vars:
ansible_core_version_min: "==2.13.*" ansible_core_version_min: "==2.14.*"
ansible_core_version_max: "==2.14.*" ansible_core_version_max: "==2.15.*"
# Test latest ansible version on Ubuntu, minimum supported on others. # Test latest ansible version on Ubuntu, minimum supported on others.
ansible_core_version_constraint: >- ansible_core_version_constraint: >-
{{ ansible_core_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_core_version_max }} {{ ansible_core_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_core_version_max }}
ansible_version_min: "==6.*" ansible_version_min: "==7.*"
ansible_version_max: "==7.*" ansible_version_max: "==8.*"
# Test latest ansible version on Ubuntu, minimum supported on others. # Test latest ansible version on Ubuntu, minimum supported on others.
ansible_version_constraint: >- ansible_version_constraint: >-
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }} {{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}

View File

@ -7,8 +7,8 @@ set -o errexit
# do not use _PYTHON_BIN directly, use $(get_python_bin) instead # do not use _PYTHON_BIN directly, use $(get_python_bin) instead
_PYTHON_BIN="" _PYTHON_BIN=""
ANSIBLE_VERSION_MIN=2.13 ANSIBLE_VERSION_MIN=2.14
ANSIBLE_VERSION_MAX=2.14 ANSIBLE_VERSION_MAX=2.15
function get_python_bin { function get_python_bin {
if [ -n "$_PYTHON_BIN" ]; then if [ -n "$_PYTHON_BIN" ]; then