Fixed hanging command (ufw) and wrong parameter (fail2ban)
This commit is contained in:
@@ -8,4 +8,4 @@
|
||||
service:
|
||||
name: fail2ban
|
||||
enabled: yes
|
||||
started: started
|
||||
state: started
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user