diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f049fa7..e0b5a78c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,27 +14,28 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Added * apt: Disable NonFreeFirmware warning for VM on Debian 12+ +* bind: Add reload-zone helper +* docker-host: added var for user namespace setting * docker-host: added var for user namespace setting * dovecot: add Munin plugins dovecot1 and dovecot_stats (patched) +* dovecot: add Munin plugins dovecot1 and dovecot_stats (patched) * dovecot: fix old_stats plugin for Dovecot 2.3. -* evolinux: Install HPE Agentless Management Service (amsd) +* dovecot: fix old_stats plugin for Dovecot 2.3. +* evocheck: add support for Debian >= 12 splitted SSH configuration +* evolinux-base: add splitted SSH configuration for Debian >= 12 +* evolinux-base: configure bashrc for all users * evolinux-base: New variable "evolinux_system_include_ntpd" to chose wether or not to include ntpd role +* evolinux-base: reboot the server if the Cloud kernel has been installed +* evolinux-users: add splitted SSH configuration for Debian >= 12 +* evolinux: Install HPE Agentless Management Service (amsd) +* fail2ban: add default variable fail2ban_dbpurgeage_default * fail2ban: add default variable fail2ban_dbpurgeage_default * fail2ban: add variable fail2ban_sshd_port to configure sshd port * nagios-nrpe: add a NRPE check-local command with completion. * policy_pam: New role allowing to manage password policy with pam_pwquality & pam_pwhistory -* userlogrotate: rotate also php.log. -* userlogrotate: new version, with separate conf file -* docker-host: added var for user namespace setting -* dovecot: fix old_stats plugin for Dovecot 2.3. -* dovecot: add Munin plugins dovecot1 and dovecot_stats (patched) -* fail2ban: add default variable fail2ban_dbpurgeage_default * userlogrotate: add a userlogpurge script disabled by default -* evolinux-base: configure bashrc for all users -* bind: Add reload-zone helper -* evolinux-base: add splitted SSH configuration for Debian >= 12 -* evolinux-users: add splitted SSH configuration for Debian >= 12 -* evocheck: add support for Debian >= 12 splitted SSH configuration +* userlogrotate: new version, with separate conf file +* userlogrotate: rotate also php.log. ### Changed diff --git a/evolinux-base/tasks/kernel.yml b/evolinux-base/tasks/kernel.yml index da3abf57..b8b07853 100644 --- a/evolinux-base/tasks/kernel.yml +++ b/evolinux-base/tasks/kernel.yml @@ -4,6 +4,7 @@ ansible.builtin.apt: name: "linux-image-cloud-amd64" state: present + register: _use_cloud_kernel when: - ansible_machine == "x86_64" - ansible_virtualization_role == "guest" @@ -17,6 +18,14 @@ - ansible_machine == "x86_64" - ansible_virtualization_role == "guest" - evolinux_kernel_cloud_auto | bool + +- name: "Reboot the server to enable the new kernel" + ansible.builtin.reboot: + reboot_timeout: 600 + search_paths: ['/lib/molly-guard', '/sbin'] + when: + - _use_cloud_kernel | changed + - evolinux_kernel_cloud_reboot | bool - name: Reboot after panic ansible.posix.sysctl: