From efd832652378ac3720aa79df20a098dfcf04ebe6 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Wed, 16 Nov 2022 18:09:27 +0100 Subject: [PATCH] :wrench: Improve unattended-upgrades setup According to https://github.com/hifis-net/ansible-role-unattended-upgrades#origins-patterns --- group-all.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group-all.yml b/group-all.yml index e840c91..0a0ed10 100644 --- a/group-all.yml +++ b/group-all.yml @@ -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"