Fix conditional for the dnf nobest test (#71805)

This commit is contained in:
Amin Vakil 2020-09-23 10:40:12 +03:30 committed by GitHub
parent 5cd489af06
commit 98d10cd6ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,5 +62,5 @@
(ansible_distribution in ['RedHat', 'CentOS'] and ansible_distribution_major_version is version('8', '>='))
- 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', '>='))