ansible-role-postfix/tasks/fail2ban.yml
phil 53f2925435 Remove fail2ban config files
Better install them via fail2ban role
2023-10-26 22:34:18 +02:00

13 lines
327 B
YAML

---
- name: "Fail2ban | Setup SASL logging"
ansible.builtin.copy:
src: rsyslog.d/mail-sasl.conf
dest: /etc/rsyslog.d/mail-sasl.conf
mode: "0644"
notify: restart rsyslog
- name: "Fail2ban | Setup logrotate"
ansible.builtin.template:
src: mail-sasl.j2
dest: /etc/logrotate.d/mail-sasl
mode: "0644"