Added more text because it seems to solve a recieving problem

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-13 02:33:59 +01:00
parent 055072b430
commit 72ee7f2fce
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@
template:
src: "msmtprc.conf.j2"
dest: "/root/.msmtprc"
mode: 600
when: run_once_systemd_notifier_email is not defined
- name: "create {{systemd_notifier_email_folder}}"

View File

@ -7,5 +7,9 @@ Subject: $1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
$(systemctl status --full "$1")
A problem with the service $1 occured:
$(systemctl status --full "$1" | head -n 30)
ERRMAIL