Update template
This commit is contained in:
parent
d5e368329a
commit
6193223f7f
1 changed files with 10 additions and 0 deletions
|
|
@ -21,6 +21,16 @@ download_updates = yes
|
||||||
# install.timer override this setting.
|
# install.timer override this setting.
|
||||||
apply_updates = yes
|
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]
|
[emitters]
|
||||||
# Name to use for this system in messages that are emitted. Default is the
|
# Name to use for this system in messages that are emitted. Default is the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue