ansible/roles/postfix_logreport/tasks/main.yml
2016-08-08 19:36:31 +00:00

25 lines
558 B
YAML

---
# tasklist for setting up postfix/logreport
# This is the base set of files needed for postfix/logreport
- name: install postfix-perl-scripts package
yum: pkg=postfix-perl-scripts state=present
tags:
- postfix
- packages
- name: install /usr/sbin/pflogsumm
copy: src={{ item }} dest="/usr/sbin/{{ item }}" mode=0755
with_item:
- pflogsumm
tags:
- postfix
- config
- name: install /etc/cron.d/postfix-log.cron
copy: src={{ item }} dest="/etc/cron.d/{{ item }}"
with_item:
- postfix-log.cron
tags:
- postfix
- config