From 2efd892bc1a95ce28c413dbfebe9eb714358bdf9 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Fri, 30 Sep 2022 22:23:44 +0200 Subject: [PATCH] :pencil2: adress issues from PR discussion - fix typo in role name - make origin patterns for unattended upgrades less release specific --- all.yml | 6 +++--- requirements.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/all.yml b/all.yml index c9960e9..82c29ed 100644 --- a/all.yml +++ b/all.yml @@ -25,11 +25,11 @@ - name: Setup unattended-upgrades include_role: - name: hifis.unattended-upgrades + name: hifis.unattended_upgrades vars: unattended_origins_patterns: - - "origin=Debian,archive=buster-security" - - "o=Debian,a=buster-updates" + - "origin=Debian,archive={{ ansible_distribution_release }}-security" + - "o=Debian,a={{ ansible_distribution_release }}-updates" unattended_package_blacklist: [cowsay] unattended_mail: "root" diff --git a/requirements.yml b/requirements.yml index e23c6a3..53073ff 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,5 +1,5 @@ --- -- src: hifis.unattended-upgrades +- src: hifis.unattended_upgrades version: v1.12.2 - src: git+https://github.com/adriagalin/ansible.timezone.git version: 3.0.0