Update template

This commit is contained in:
Adrien Reslinger 2024-01-12 08:40:03 +01:00
parent d5e368329a
commit 6193223f7f
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -21,6 +21,16 @@ download_updates = yes
# install.timer override this setting.
apply_updates = yes
{% if ansible_os_family == "RedHat" and ansible_distribution_major_version == '9' %}
# When the system should reboot following upgrades:
# never = don't reboot after upgrades
# when-changed = reboot after any changes
# when-needed = reboot when necessary to apply changes
reboot = never
# The command that is run to trigger a system reboot.
reboot_command = "shutdown -r +5 'Rebooting after applying package updates'"
{% endif %}
[emitters]
# Name to use for this system in messages that are emitted. Default is the