🔧 Send unattended-upgrades mail only on error
Otherwise an email will be sent on every upgrade
This commit is contained in:
parent
ebd8d13b25
commit
9f1940fa8f
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
- "origin=${ distro_id },archive=${ distro_codename }-updates"
|
- "origin=${ distro_id },archive=${ distro_codename }-updates"
|
||||||
unattended_package_blacklist: [cowsay]
|
unattended_package_blacklist: [cowsay]
|
||||||
unattended_mail: "root"
|
unattended_mail: "root"
|
||||||
|
unattended_mail_only_on_error: true
|
||||||
|
|
||||||
- name: Install some common software packages
|
- name: Install some common software packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
Loading…
Reference in a new issue