mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 07:31:23 -07:00
Installroot OS version check fix (#20180)
Cast to int before checking the OS version. This prevents the DNF tests from running on Fedora < 23
This commit is contained in:
parent
4b3977d5af
commit
b1c57ea443
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@
|
|||
# We want to test that for people who don't want to upgrade their systems.
|
||||
|
||||
- include: 'dnf.yml'
|
||||
when: (ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux'] and False) or (ansible_distribution in ['Fedora'] and ansible_distribution_major_version >= 23)
|
||||
when: (ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux'] and False) or (ansible_distribution in ['Fedora'] and ansible_distribution_major_version|int >= 23)
|
||||
|
||||
- include: 'dnfinstallroot.yml'
|
||||
when: (ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux'] and False) or (ansible_distribution in ['Fedora'] and ansible_distribution_major_version >= 23)
|
||||
when: (ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux'] and False) or (ansible_distribution in ['Fedora'] and ansible_distribution_major_version|int >= 23)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue