From 8502e76846ce89effe7de431450f3f053343a7c7 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 12 Aug 2024 16:32:17 +0200 Subject: [PATCH] dd --- roles/mgrote_munin_server/tasks/mail.yml | 6 ------ roles/mgrote_munin_server/tasks/main.yml | 6 ++++-- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 roles/mgrote_munin_server/tasks/mail.yml diff --git a/roles/mgrote_munin_server/tasks/mail.yml b/roles/mgrote_munin_server/tasks/mail.yml deleted file mode 100644 index 6414159d..00000000 --- a/roles/mgrote_munin_server/tasks/mail.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -- name: Template ssmtp config - ansible.builtin.template: - src: ssmtp.conf - dest: /etc/ssmtp/ssmtp.conf -... diff --git a/roles/mgrote_munin_server/tasks/main.yml b/roles/mgrote_munin_server/tasks/main.yml index d1f3685f..9c0241b8 100644 --- a/roles/mgrote_munin_server/tasks/main.yml +++ b/roles/mgrote_munin_server/tasks/main.yml @@ -73,6 +73,8 @@ group: munin when: not placeholder.stat.exists -- name: Include alerting tasks - ansible.builtin.include_tasks: mail.yml +- name: Template ssmtp config + ansible.builtin.template: + src: ssmtp.conf + dest: /etc/ssmtp/ssmtp.conf ...