diff options
author | mail_redacted_for_web | 2022-01-10 14:32:54 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2022-01-10 14:32:54 +0100 |
commit | 899bf6aaf2c28f9a44c03cf3540b4df0de787ce4 (patch) | |
tree | 8b2ee0f5d45a3de471f1ea88a795d288677b1d9f | |
parent | 0bac22d3d5799ef6c95838d3de08a0d1e1d7ef2b (diff) | |
parent | d911899c65e7c5441faeb5fe89e0e7eec83b3763 (diff) | |
download | ansible-899bf6aaf2c28f9a44c03cf3540b4df0de787ce4.tar.bz2 |
Merge branch 'master' of git.lirion.de:/var/cache/git/os-ansible
-rw-r--r-- | patch.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |