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 ...