You can use the reboot or shutdown -r now to reboot the Linux system. However, this doesn't scale well if you have many Alpine Linux servers (or clusters based upon Alpine Linux) and need to reboot the server only if a new Linux kernel is installed. Let us see how to use the Ansible IT automation tool to reboot the Alpine Linux VM or server only when a new Linux kernel is installed.
Love this? sudo share_on: Twitter – Facebook – LinkedIn – Whatsapp – Reddit
The post How to reboot Alpine Linux using Ansible when kernel is updated appeared first on nixCraft.