diff --git a/tasks/main.yml b/tasks/main.yml index 02d2af2..b00fd02 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -21,7 +21,8 @@ loop_control: label: "{{ item.name }}" when: - - ansible_pkg_mgr in [ "dnf", "yum" ] + - ansible_pkg_mgr in [ "dnf", "yum" ] or + ansible_facts.os_family == "RedHat" - name: Run tasks on apt based distributions when: