diff --git a/host_vars/tealc.adm.crans.org.yml b/host_vars/tealc.adm.crans.org.yml index e2fd8699..bb6fb557 100644 --- a/host_vars/tealc.adm.crans.org.yml +++ b/host_vars/tealc.adm.crans.org.yml @@ -4,7 +4,8 @@ interfaces: loc_needrestart: override: - - postgresql + - regex: 'postgresql' + mode: 'i' debian_mirror: 'file:/pool/mirror/pub/debian' diff --git a/host_vars/zamok.adm.crans.org.yml b/host_vars/zamok.adm.crans.org.yml index 2c830c06..90e157d4 100644 --- a/host_vars/zamok.adm.crans.org.yml +++ b/host_vars/zamok.adm.crans.org.yml @@ -9,7 +9,8 @@ loc_unattended: loc_needrestart: override: - - thelounge + - regex: 'thelounge' + mode: 'i' loc_borg: to_exclude: diff --git a/roles/unattended-upgrades/templates/apt/apt.conf.d/50unattended-upgrades.j2 b/roles/unattended-upgrades/templates/apt/apt.conf.d/50unattended-upgrades.j2 index 464d0d09..12c486cd 100644 --- a/roles/unattended-upgrades/templates/apt/apt.conf.d/50unattended-upgrades.j2 +++ b/roles/unattended-upgrades/templates/apt/apt.conf.d/50unattended-upgrades.j2 @@ -72,7 +72,7 @@ Unattended-Upgrade::Mail "root@crans.org"; // "always", "only-on-error" or "on-change" // If this is not set, then any legacy MailOnlyOnError (boolean) value // is used to chose between "only-on-error" and "on-change" -Unattended-Upgrade::MailReport "on-change"; +Unattended-Upgrade::MailReport "only-on-error"; // Remove unused automatically installed kernel-related packages // (kernel images, kernel headers and kernel version locked tools).