git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2021-12-13 09:02:01 +0100
committermail_redacted_for_web 2021-12-13 09:02:01 +0100
commitd911899c65e7c5441faeb5fe89e0e7eec83b3763 (patch)
treebe615542ac792c8df7637d151ab5315d0ee69aac
parent1ee6fb2719b44650e5b012945ce8710a7ac98f5b (diff)
downloadansible-d911899c65e7c5441faeb5fe89e0e7eec83b3763.tar.bz2
2 is kernel reboot, so this was right
-rw-r--r--patch.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/patch.yml b/patch.yml
index fa524d4..fec2aa7 100644
--- a/patch.yml
+++ b/patch.yml
@@ -212,7 +212,7 @@
listen: "debian arch needrestart"
notify: "Reboot if required"
# failed_when necessary to have a change for RC 1 instead of a failure
- failed_when: kernout.rc > 1
+ failed_when: kernout.rc > 2
- name: Check for outdated services (Debian, Arch)
shell: /usr/sbin/needrestart -pl
register: svcout
@@ -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.