ansible/roles/postfix_logreport/tasks/main.yml
Ryan Lerch 25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00

25 lines
611 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
ansible.builtin.package: name=postfix-perl-scripts state=present
tags:
- postfix
- packages
- name: Install /usr/sbin/pflogsumm
ansible.builtin.copy: src={{ item }} dest="/usr/sbin/{{ item }}" mode=0755
with_item:
- pflogsumm
tags:
- postfix
- config
- name: Install /etc/cron.d/postfix-log.cron
ansible.builtin.copy: src={{ item }} dest="/etc/cron.d/{{ item }}"
with_item:
- postfix-log.cron
tags:
- postfix
- config