From 9f1940fa8fa57274aa16818a860fef69ea239ac0 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Wed, 16 Nov 2022 18:12:08 +0100 Subject: [PATCH] :wrench: Send unattended-upgrades mail only on error Otherwise an email will be sent on every upgrade --- group-all.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/group-all.yml b/group-all.yml index 7bf3267..e46c4d7 100644 --- a/group-all.yml +++ b/group-all.yml @@ -35,6 +35,7 @@ - "origin=${ distro_id },archive=${ distro_codename }-updates" unattended_package_blacklist: [cowsay] unattended_mail: "root" + unattended_mail_only_on_error: true - name: Install some common software packages ansible.builtin.apt: