forked from thunix/ansible
Moving files to correct spot
This commit is contained in:
parent
23627d8385
commit
d9e603b1af
2
roles/shell/files/etc/cron.daily/postfix_stats
Normal file
2
roles/shell/files/etc/cron.daily/postfix_stats
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
/usr/sbin/pflogsumm /var/log/mail.log.1 | mail -s "Mail Report for `date +%Y/%m/%d`" postmaster@thunix.net
|
|
@ -28,3 +28,11 @@
|
|||
group: root
|
||||
mode: 0644
|
||||
|
||||
# Deploy cron for reports
|
||||
- name: Deploy cron reportss
|
||||
copy:
|
||||
src: ../files/etc/crond.daily/postfix_stats
|
||||
dest: /etc/cron.daily/postfix_stats
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
|
Loading…
Reference in New Issue
Block a user