Fix centos8 check
The version check for python3 should be greater than or equal to 8 and not less than. Change-Id: I9e565b0814c992dbbc5ee71e43e36a839a2a4236
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
- name: Install tripleo-repos
|
- name: Install tripleo-repos
|
||||||
include_tasks: install.yml
|
include_tasks: install.yml
|
||||||
when: (ansible_facts.distribution_major_version|int <= 7 and not 'python2-tripleo-repos' in ansible_facts.packages) or
|
when: (ansible_facts.distribution_major_version|int <= 7 and not 'python2-tripleo-repos' in ansible_facts.packages) or
|
||||||
(ansible_facts.distribution_major_version|int <= 8 and not 'python3-tripleo-repos' in ansible_facts.packages)
|
(ansible_facts.distribution_major_version|int >= 8 and not 'python3-tripleo-repos' in ansible_facts.packages)
|
||||||
|
|
||||||
- name: Run tripleo-repos
|
- name: Run tripleo-repos
|
||||||
command: >-
|
command: >-
|
||||||
|
|||||||
Reference in New Issue
Block a user