Fixed hanging command (ufw) and wrong parameter (fail2ban)

This commit is contained in:
2020-01-03 21:48:40 +01:00
parent 20e31b32e0
commit ab86471902
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -8,4 +8,4 @@
service:
name: fail2ban
enabled: yes
started: started
state: started
+2 -4
View File
@@ -1,8 +1,6 @@
---
- name: allow ssh through firewall
- name: allow ssh through firewall and enable firewall
ufw:
name: OpenSSH
rule: allow
- name: enable ufw firewall
command:
cmd: ufw enable
state: enabled