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