Fix bug in unattended-upgrades
This commit is contained in:
parent
54e81e8755
commit
ebfcf3301e
@ -1,6 +1,6 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% if unattended_upgrades_apticron_email is defined %}
|
||||
{% if unattended_upgrades_apticron_email %}
|
||||
EMAIL="{{ unattended_upgrades_apticron_email | default('root') }}"
|
||||
SYSTEM="{{ ansible_hostname }}"
|
||||
{% endif %}
|
||||
|
@ -26,7 +26,7 @@ Unattended-Upgrade::MinimalSteps "{{ unattended_upgrades_minimal_steps | lower }
|
||||
{% if unattended_upgrades_install_on_shutdown is defined %}
|
||||
Unattended-Upgrade::InstallOnShutdown "{{ unattended_upgrades_install_on_shutdown | lower }}";
|
||||
{% endif %}
|
||||
{% if unattended_upgrades_mail is defined %}
|
||||
{% if unattended_upgrades_mail %}
|
||||
Unattended-Upgrade::Mail "{{ unattended_upgrades_mail }}";
|
||||
{% endif %}
|
||||
{% if unattended_upgrades_mail_only_on_error is defined %}
|
||||
|
Loading…
Reference in New Issue
Block a user