Skip to content
Snippets Groups Projects
Commit 98a691a7 authored by Michal Nasiadka's avatar Michal Nasiadka
Browse files

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

Change-Id: Ie09bf108250a71d539002dd5ccfa63dd71bcfe90
parent 0052deac
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2016 99cloud
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2015 Sam Yaple
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
# Copyright 2016 99cloud Inc.
#
......
---
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment