From 01b5a0a3b4deec5739f29865e159abfd318ae44f Mon Sep 17 00:00:00 2001 From: syrell Date: Thu, 2 Nov 2023 00:11:47 +0100 Subject: [PATCH] Added configuration for root email sending --- roles/unattended-upgrades/templates/mail_generic.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/unattended-upgrades/templates/mail_generic.j2 b/roles/unattended-upgrades/templates/mail_generic.j2 index 859a6c5..033acd4 100644 --- a/roles/unattended-upgrades/templates/mail_generic.j2 +++ b/roles/unattended-upgrades/templates/mail_generic.j2 @@ -1 +1,2 @@ -{{ upgrades_sender }} {{ smtp_username }} \ No newline at end of file +{{ upgrades_sender }} {{ smtp_username }} +root@{{ ansible_hostname }}.lan {{ smtp_username }} \ No newline at end of file