I’m searching for something that let’s me know whether or not my system would need a reboot (kernel update etc). Red Hat has the yum/dnf plugin needs-restarting, SUSE15 has ported this over as well and it’s available since 15.1. Debian/Ubuntu have the file /var/run/reboot-required and if that exists a reboot is required.
But I couldn’t find anything on SLES 12 that let’s me check this in a script.
The ultimate goal is to build this into our update management with ansible. Updates get installed and if a reboot is required, it’s done as well.
Someone got an idea?