Add MAILTO variable addition into apt-maintenance/tasks/main.yml
This commit is contained in:
parent
616b5c1a83
commit
e7865d16c9
@ -16,9 +16,16 @@
|
||||
mode: 0755
|
||||
backup: no
|
||||
|
||||
- name: Add MAILTO cron variable
|
||||
cron:
|
||||
name: MAILTO
|
||||
env: yes
|
||||
job: s+cron@sadiqs.com
|
||||
|
||||
- name: Add apt-maintenance cronjob
|
||||
cron:
|
||||
name: apt-maintenance
|
||||
special_time: daily
|
||||
job: /root/scripts/apt-maintenance.sh
|
||||
backup: yes
|
||||
insertafter: MAILTO
|
||||
|
Loading…
Reference in New Issue
Block a user