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:
Alex Schultz
2020-02-10 11:47:54 -07:00
parent 28904fc7a0
commit 414cd8bfd9

View File

@@ -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: >-