Fix conditional for the dnf nobest test (#71805)

pull/71875/head
Amin Vakil 4 years ago committed by GitHub
parent 5cd489af06
commit 98d10cd6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,5 +62,5 @@
(ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>=')) (ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>='))
- include_tasks: nobest.yml - include_tasks: nobest.yml
when: (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('24', '>=') and ansible_distribution_major_version is version('31', '<=')) or when: (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('24', '>=')) or
(ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>=')) (ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>='))

Loading…
Cancel
Save