Bump Ansible min version to 2.12/5 and max to 2.13/6
Change-Id: Ie09bf108250a71d539002dd5ccfa63dd71bcfe90
This commit is contained in:
parent
0052deac23
commit
98a691a7c9
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Copyright 2016 99cloud
|
||||
#
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Copyright 2015 Sam Yaple
|
||||
#
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Copyright 2016 99cloud Inc.
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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 }}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user