diff --git a/roles/system/base/tasks/upgrade.yml b/roles/system/base/tasks/upgrade.yml index ed77bdb..7fee73e 100644 --- a/roles/system/base/tasks/upgrade.yml +++ b/roles/system/base/tasks/upgrade.yml @@ -13,7 +13,7 @@ when: ansible_distribution in [ "AlmaLinux", "CentOS", "Fedora" ] - name: Upgrade all packages with ‹zypper› - community.general.packaging.os.zypper: + community.general.zypper: name: "*" state: latest - when: ansible_distribution == "openSUSE" + when: "'openSUSE' in ansible_distribution"