mirror of
https://github.com/luzifer-ansible/ubuntu-unattended-upgrades.git
synced 2024-11-09 22:20:01 +00:00
Implement new options from upstream package
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c59a76bc66
commit
1c59adb761
2 changed files with 12 additions and 0 deletions
|
@ -14,4 +14,7 @@ unattended_mail: "mail@example.com"
|
||||||
unattended_mail_only_on_error: false
|
unattended_mail_only_on_error: false
|
||||||
unattended_minimal_steps: false
|
unattended_minimal_steps: false
|
||||||
unattended_reboot_time: "now"
|
unattended_reboot_time: "now"
|
||||||
|
unattended_reboot_with_users: true
|
||||||
unattended_remove_unused_dependencies: false
|
unattended_remove_unused_dependencies: false
|
||||||
|
unattended_syslog_enable: false
|
||||||
|
unattended_syslog_facility: "daemon"
|
||||||
|
|
|
@ -47,7 +47,16 @@ Unattended-Upgrade::Remove-Unused-Dependencies "{{ unattended_remove_unused_depe
|
||||||
// if the file /var/run/reboot-required is found after the upgrade
|
// if the file /var/run/reboot-required is found after the upgrade
|
||||||
Unattended-Upgrade::Automatic-Reboot "{{ unattended_automatic_reboot | to_json }}";
|
Unattended-Upgrade::Automatic-Reboot "{{ unattended_automatic_reboot | to_json }}";
|
||||||
|
|
||||||
|
// Automatically reboot even if there are users currently logged in.
|
||||||
|
Unattended-Upgrade::Automatic-Reboot-WithUsers "{{ unattended_reboot_with_users | to_json }}";
|
||||||
|
|
||||||
// If automatic reboot is enabled and needed, reboot at the specific
|
// If automatic reboot is enabled and needed, reboot at the specific
|
||||||
// time instead of immediately
|
// time instead of immediately
|
||||||
// Default: "now"
|
// Default: "now"
|
||||||
Unattended-Upgrade::Automatic-Reboot-Time "{{ unattended_reboot_time }}";
|
Unattended-Upgrade::Automatic-Reboot-Time "{{ unattended_reboot_time }}";
|
||||||
|
|
||||||
|
// Enable logging to syslog. Default is False
|
||||||
|
Unattended-Upgrade::SyslogEnable "{{ unattended_syslog_enable | to_json }}";
|
||||||
|
|
||||||
|
// Specify syslog facility. Default is daemon
|
||||||
|
Unattended-Upgrade::SyslogFacility "{{ unattended_syslog_facility }}";
|
||||||
|
|
Loading…
Reference in a new issue