From 4f6aa5b446f590940eb3cad48ff084bfb5afce4b Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Mon, 13 Dec 2021 08:27:30 +0100 Subject: typo in failed_when on services needrestart --- patch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch.yml b/patch.yml index fa524d4..10c7914 100644 --- a/patch.yml +++ b/patch.yml @@ -225,7 +225,7 @@ # we'll play it safe here: outdated services? --> reboot. notify: "Reboot if required" # failed_when necessary to have a change for RC 1 instead of a failure - failed_when: svcout.rc > 1 + failed_when: svcout.rc > 2 - name: Update zypper cache (SUSE) # we cannot cheat like we did with yum: we need to update any package to refresh the cache with the zypper module. Hence falling back # to shell. -- cgit v1.2.3