Przeglądaj źródła

Merge pull request #291 from lvillani/fail2ban-ensure-started

Merge pull request #291
Alex Payne 10 lat temu
rodzic
commit
bd6921e81a
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      roles/common/tasks/security.yml

+ 3
- 0
roles/common/tasks/security.yml Wyświetl plik

@@ -13,6 +13,9 @@
13 13
   copy: src=etc_fail2ban_filter.d_dovecot-pop3imap.conf dest=/etc/fail2ban/filter.d/dovecot-pop3imap.conf
14 14
   notify: restart fail2ban
15 15
 
16
+- name: Ensure fail2ban is started
17
+  service: name=fail2ban state=started
18
+
16 19
 - name: Update sshd config to disallow root logins
17 20
   lineinfile: dest=/etc/ssh/sshd_config regexp=^PermitRootLogin line="PermitRootLogin no" state=present
18 21
   notify: restart ssh

Ładowanie…
Anuluj
Zapisz