diff --git a/roles/base_system/tasks/upgrade.yml b/roles/base_system/tasks/upgrade.yml index 34c8659..eac6d50 100644 --- a/roles/base_system/tasks/upgrade.yml +++ b/roles/base_system/tasks/upgrade.yml @@ -10,7 +10,7 @@ ansible.builtin.dnf: name: "*" state: latest - when: ansible_facts.pkg_mgr == "dnf" + when: ansible_facts.pkg_mgr.startswith("dnf") - name: Upgrade all packages with ‹zypper› community.general.zypper: