ansible-role-postfix/tasks/fail2ban.yml

14 lines
327 B
YAML
Raw Normal View History

2023-03-20 20:01:04 +01:00
---
- name: "Fail2ban | Setup SASL logging"
2023-09-23 08:19:13 +02:00
ansible.builtin.copy:
src: rsyslog.d/mail-sasl.conf
dest: /etc/rsyslog.d/mail-sasl.conf
mode: "0644"
2023-03-20 20:01:04 +01:00
notify: restart rsyslog
- name: "Fail2ban | Setup logrotate"
ansible.builtin.template:
src: mail-sasl.j2
dest: /etc/logrotate.d/mail-sasl
mode: "0644"