🔧 Improve unattended-upgrades setup

According to https://github.com/hifis-net/ansible-role-unattended-upgrades#origins-patterns
This commit is contained in:
Stefan Haun 2022-11-16 18:09:27 +01:00
parent 3f5d63348d
commit efd8326523

View file

@ -31,8 +31,8 @@
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"