| |
@@ -21,8 +21,8 @@
|
| |
{{ ansible_pkg_mgr == 'dnf' }}
|
| |
is_rhel8_based: >-
|
| |
{{
|
| |
- ( ['ansible_distribution'] |
|
| |
- intersect(['RedHat', 'CentOS']) | bool ) and
|
| |
+ ( [ansible_distribution] |
|
| |
+ intersect(['RedHat', 'CentOS']) | length | bool ) and
|
| |
ansible_distribution_version|int == 8
|
| |
}}
|
| |
|
| |
Signed-off-by: Andrei Stepanov astepano@redhat.com