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:
Stefan Haun 2022-11-17 15:01:26 +01:00
commit 9e6f3a2456

View file

@ -31,10 +31,12 @@
name: hifis.unattended_upgrades
vars:
unattended_origins_patterns:
- "origin=Debian,archive={{ ansible_distribution_release }}-security"
- "o=Debian,a={{ ansible_distribution_release }}-updates"
- "origin=${ distro_id },archive=${ distro_codename }-security"
- "origin=${ distro_id },archive=${ distro_codename }-updates"
unattended_package_blacklist: [cowsay]
unattended_mail: "root"
unattended_mail_only_on_error: true
unattended_syslog_enable: true
- name: Install some common software packages
ansible.builtin.apt:
@ -42,3 +44,4 @@
name:
- molly-guard
- mc
- bsd-mailx