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
|
mode: 0755
|
||||||
backup: no
|
backup: no
|
||||||
|
|
||||||
|
- name: Add MAILTO cron variable
|
||||||
|
cron:
|
||||||
|
name: MAILTO
|
||||||
|
env: yes
|
||||||
|
job: s+cron@sadiqs.com
|
||||||
|
|
||||||
- name: Add apt-maintenance cronjob
|
- name: Add apt-maintenance cronjob
|
||||||
cron:
|
cron:
|
||||||
name: apt-maintenance
|
name: apt-maintenance
|
||||||
special_time: daily
|
special_time: daily
|
||||||
job: /root/scripts/apt-maintenance.sh
|
job: /root/scripts/apt-maintenance.sh
|
||||||
backup: yes
|
backup: yes
|
||||||
|
insertafter: MAILTO
|
||||||
|
Loading…
Reference in New Issue
Block a user