From e4f00dc77cb82e3a5100a1f351de0545b1ba9bca Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sat, 9 Sep 2023 15:23:08 +0200 Subject: [PATCH] fix(system/base): fix openSUSE upgrades Signed-off-by: Matej Focko --- roles/system/base/tasks/upgrade.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"