Bladeren bron

Install fail2ban with IPv6 support from stretch-backports (Debian 9).

Thomas Buck 5 jaren geleden
bovenliggende
commit
5684f3c673
1 gewijzigde bestanden met toevoegingen van 8 en 1 verwijderingen
  1. 8
    1
      roles/common/tasks/security.yml

+ 8
- 1
roles/common/tasks/security.yml Bestand weergeven

@@ -4,13 +4,20 @@
4 4
     state: present
5 5
   vars:
6 6
     packages:
7
-    - fail2ban
8 7
     - whois
9 8
     - lynis
10 9
     - rkhunter
11 10
   tags:
12 11
     - dependencies
13 12
 
13
+- name: Install newer fail2ban with IPv6 support
14
+  apt:
15
+    name: "fail2ban"
16
+    state: present
17
+    default_release: stretch-backports
18
+  tags:
19
+    - dependencies
20
+
14 21
 - name: Copy fail2ban configuration into place
15 22
   template: src=etc_fail2ban_jail.local.j2 dest=/etc/fail2ban/jail.local
16 23
   notify: restart fail2ban

Laden…
Annuleren
Opslaan