From b7703290c62002bd9c0795fbee694d73e3301d96 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 24 Sep 2024 04:15:10 +0200 Subject: . --- roles/common-linux/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'roles/common-linux/tasks') diff --git a/roles/common-linux/tasks/main.yml b/roles/common-linux/tasks/main.yml index 83ec571..61677c7 100644 --- a/roles/common-linux/tasks/main.yml +++ b/roles/common-linux/tasks/main.yml @@ -30,6 +30,18 @@ state: started enabled: yes +- name: set MAILTO in crontab for root + cronvar: + name: MAILTO + value: status@iamfabulous.de + +- name: set MAILTO in crontab for user + become: true + become_user: horus + cronvar: + name: MAILTO + value: status@iamfabulous.de + #- import_tasks: cronjobs.yml - import_tasks: vim.yml -- cgit v1.2.3