diff --git a/files/rsyslog.d/mail-sasl.conf b/files/rsyslog.d/mail-sasl.conf deleted file mode 100644 index e0b507d..0000000 --- a/files/rsyslog.d/mail-sasl.conf +++ /dev/null @@ -1,4 +0,0 @@ -# Managed by Ansible -# Write SASLS log to file - -:msg, contains, "SASL" /var/log/mail-sasl.log diff --git a/tasks/fail2ban.yml b/tasks/fail2ban.yml deleted file mode 100644 index 7a0b1b2..0000000 --- a/tasks/fail2ban.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- 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" diff --git a/tasks/main.yml b/tasks/main.yml index 683e45c..036f296 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,11 +20,6 @@ tags: onionmx when: postfix_onionmx is defined and postfix_onionmx -- name: Fail2ban - ansible.builtin.import_tasks: fail2ban.yml - tags: fail2ban - when: postfix_type == "internet" - - name: TLS-helper ansible.builtin.import_tasks: tls-helper.yml tags: tls-helper