mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 05:40:17 +00:00
Moving files to correct spot
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user