13 lines
327 B
YAML
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"
|