We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f8182f commit 5d6723dCopy full SHA for 5d6723d
resources/roles/install_uninstall/tasks/main.yml
@@ -21,7 +21,7 @@
21
allow_downgrade: true
22
allowerasing: true
23
lock_timeout: 300
24
- when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version >= '8'
+ when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version | int >= 8
25
tags:
26
- install_package
27
@@ -31,7 +31,7 @@
31
state: present
32
33
34
- when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version < '8'
+ when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version | int < 8
35
36
37
0 commit comments