25 lines
558 B
YAML
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
|