Skip to content

Commit c3461c2

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "CI: Test minimum and maximum supported ansible versions" into stable/wallaby
2 parents a4c46d8 + a1e7fa2 commit c3461c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/run.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,11 @@
202202
203203
- name: install kolla-ansible and dependencies
204204
vars:
205+
ansible_version_min: "==2.9.*"
206+
ansible_version_max: "==2.10.*"
205207
# Test latest ansible version on Ubuntu, minimum supported on others.
206-
ansible_version_constraint: "{{ '==2.9.*' if is_upgrade else '==2.10.*' }}"
208+
ansible_version_constraint: >-
209+
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}
207210
command: >-
208211
python3 -m pip install --user
209212
-c {{ upper_constraints_file }}

0 commit comments

Comments
 (0)