ansible/roles/postfix_logreport/tasks/main.yml
Patrick Uiterwijk 936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00

25 lines
563 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
package: name=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