Moving files to correct spot

This commit is contained in:
Ubergeek 2020-01-13 08:38:01 -05:00
parent 23627d8385
commit d9e603b1af
2 changed files with 10 additions and 0 deletions

View 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

View File

@ -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