diff options
author | mail_redacted_for_web | 2021-03-29 18:44:34 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2021-03-29 18:44:34 +0200 |
commit | a90070a5dbde4c1e54da1addadbf945593526ea8 (patch) | |
tree | ffdeecd3e10d1a482ba156e5822214ffc38298ed | |
parent | 2956a5979bc4a60024ce82b25a29c4887eeb58cd (diff) | |
download | ansible-a90070a5dbde4c1e54da1addadbf945593526ea8.tar.bz2 |
in the spririt of all other reboots, be more offensive on deb as well. we expect this playbook to potentially reboot anyway.
-rw-r--r-- | patch.yml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -141,8 +141,9 @@ changed_when: - nrex.stat.exists == true - nrex.stat.executable == true + # we listen to "debian upd" here in case a previous reboot was not executed. If undesired, change to "debian updates available". notify: "debian needrestart" - listen: "debian updates available" + listen: "debian upd" - name: Check for outdated kernel (Debian) shell: /usr/sbin/needrestart -pk register: kernout |