diff options
| author | admin | 2024-09-24 04:15:10 +0200 |
|---|---|---|
| committer | admin | 2024-09-24 04:15:10 +0200 |
| commit | b7703290c62002bd9c0795fbee694d73e3301d96 (patch) | |
| tree | 2a1da4573839bad0bafb9af0efa3bcf268460860 /roles/common-linux/tasks | |
| parent | 7a4f7fd75c9a55c0a2013b6e6474f9dd4ef30a24 (diff) | |
| download | ansible-b7703290c62002bd9c0795fbee694d73e3301d96.tar.gz | |
.
Diffstat (limited to 'roles/common-linux/tasks')
| -rw-r--r-- | roles/common-linux/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
