Merge pull request 'Improve configuration for unattended-upgrades' (!116) from unattended-upgrades-config into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/116 Reviewed-by: dkdent <dkdent@netz39.de> Reviewed-by: Alexander Dahl <alex@netz39.de>
This commit is contained in:
commit
9e6f3a2456
1 changed files with 5 additions and 2 deletions
|
@ -31,10 +31,12 @@
|
||||||
name: hifis.unattended_upgrades
|
name: hifis.unattended_upgrades
|
||||||
vars:
|
vars:
|
||||||
unattended_origins_patterns:
|
unattended_origins_patterns:
|
||||||
- "origin=Debian,archive={{ ansible_distribution_release }}-security"
|
- "origin=${ distro_id },archive=${ distro_codename }-security"
|
||||||
- "o=Debian,a={{ ansible_distribution_release }}-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
|
||||||
|
unattended_syslog_enable: true
|
||||||
|
|
||||||
- name: Install some common software packages
|
- name: Install some common software packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
@ -42,3 +44,4 @@
|
||||||
name:
|
name:
|
||||||
- molly-guard
|
- molly-guard
|
||||||
- mc
|
- mc
|
||||||
|
- bsd-mailx
|
||||||
|
|
Loading…
Reference in a new issue