Skip to content
Snippets Groups Projects
Commit 999e3dbc authored by Mark Goddard's avatar Mark Goddard Committed by Radosław Piliszek
Browse files

CI: Test minimum and maximum supported ansible versions

Change-Id: I7b1e36edb1680220c6fe082fbf5eefdd633c8cfa
parent e80b877d
No related branches found
No related tags found
No related merge requests found
...@@ -202,8 +202,11 @@ ...@@ -202,8 +202,11 @@
- name: install kolla-ansible and dependencies - name: install kolla-ansible and dependencies
vars: vars:
ansible_version_min: "==2.10.*"
ansible_version_max: "==4.*"
# Test latest ansible version on Ubuntu, minimum supported on others. # Test latest ansible version on Ubuntu, minimum supported on others.
ansible_version_constraint: "{{ '==2.10.*' if is_upgrade else '==4.*' }}" ansible_version_constraint: >-
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}
command: >- command: >-
python3 -m pip install --user python3 -m pip install --user
-c {{ upper_constraints_file }} -c {{ upper_constraints_file }}
......
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