Merge "Bump Ansible min version to 2.12/5 and max to 2.13/6"

This commit is contained in:
Zuul 2022-10-05 18:04:38 +00:00 committed by Gerrit Code Review
commit 17aeda1fcf
6 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2016 99cloud
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2015 Sam Yaple
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2016 99cloud Inc.
#

View File

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

View File

@ -243,8 +243,8 @@
- name: install kolla-ansible and dependencies
vars:
ansible_version_min: "==4.*"
ansible_version_max: "==5.*"
ansible_version_min: "==5.*"
ansible_version_max: "==6.*"
# Test latest ansible version on Ubuntu, minimum supported on others.
ansible_version_constraint: >-
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}

View File

@ -68,8 +68,8 @@ function check_environment_coherence {
exit 1
fi
local ANSIBLE_VERSION_MIN=2.11
local ANSIBLE_VERSION_MAX=2.12
local ANSIBLE_VERSION_MIN=2.12
local ANSIBLE_VERSION_MAX=2.13
if [[ $(printf "%s\n" "$ANSIBLE_VERSION_MIN" "$ANSIBLE_VERSION_MAX" "$ansible_version" | sort -V | head -n1) != "$ANSIBLE_VERSION_MIN" ]] ||
[[ $(printf "%s\n" "$ANSIBLE_VERSION_MIN" "$ANSIBLE_VERSION_MAX" "$ansible_version" | sort -V | tail -n1) != "$ANSIBLE_VERSION_MAX" ]]; then