@ -19,27 +19,24 @@
# Note: We install the yum package onto Fedora so that this will work on dnf systems
# Note: We install the yum package onto Fedora so that this will work on dnf systems
# We want to test that for people who don't want to upgrade their systems.
# We want to test that for people who don't want to upgrade their systems.
- include : 'dnf.yml'
- include_tasks : dnf.yml
when:
when : (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('23', '>=')) or
- ansible_distribution == 'Fedora'
(ansible_distribution == 'RedHat' and ansible_distribution_major_version is version('8', '>='))
- ansible_distribution_major_version|int >= 23
- include : 'repo.yml'
- include_tasks : repo.yml
when:
when : (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('23', '>=')) or
- ansible_distribution == 'Fedora'
(ansible_distribution == 'RedHat' and ansible_distribution_major_version is version('8', '>='))
- ansible_distribution_major_version|int >= 23
- include : 'dnfinstallroot.yml'
- include_tasks : dnfinstallroot.yml
when:
when : (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('23', '>=')) or
- ansible_distribution == 'Fedora'
(ansible_distribution == 'RedHat' and ansible_distribution_major_version is version('8', '>='))
- ansible_distribution_major_version|int >= 23
- include : 'dnfreleasever.yml'
# Attempting to install a different RHEL release in a tmpdir doesn't work (rhel8 beta)
- include_tasks : dnfreleasever.yml
when:
when:
- ansible_distribution == 'Fedora'
- ansible_distribution == 'Fedora'
- ansible_distribution_major_version |int >= 23
- ansible_distribution_major_version is version('23', '>=')
- import_tasks : 'modularity.yml'
- include_tasks : modularity.yml
when:
when : (ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('29', '>=')) or
- ansible_distribution == 'Fedora' and ansible_distribution_major_version|int >= 29
(ansible_distribution == 'RedHat' and ansible_distribution_major_version is version('8', '>='))
- ansible_distribution == 'RedHat' and ansible_distribution_major_version|int >= 8