|
@@ -9,11 +9,6 @@
|
9
|
9
|
template: src=etc_fail2ban_jail.local.j2 dest=/etc/fail2ban/jail.local
|
10
|
10
|
notify: restart fail2ban
|
11
|
11
|
|
12
|
|
-- name: Copy fail2ban configuration into place for Ubuntu Trusty
|
13
|
|
- template: src=etc_trusty_fail2ban_jail.local.j2 dest=/etc/fail2ban/jail.local
|
14
|
|
- when: ansible_sistributon_release == 'trusty'
|
15
|
|
- notify: restart fail2ban
|
16
|
|
-
|
17
|
12
|
- name: Copy fail2ban dovecot configuration into place
|
18
|
13
|
copy: src=etc_fail2ban_filter.d_dovecot-pop3imap.conf dest=/etc/fail2ban/filter.d/dovecot-pop3imap.conf
|
19
|
14
|
notify: restart fail2ban
|