Update 'local.yaml'
parent
d78011c4d0
commit
942b8c2e89
|
@ -5,7 +5,11 @@
|
||||||
- name: Installs fail2ban
|
- name: Installs fail2ban
|
||||||
apt: pkg=fail2ban state=installed update_cache=true
|
apt: pkg=fail2ban state=installed update_cache=true
|
||||||
|
|
||||||
|
- name: Hosts file Deny
|
||||||
|
copy: src=static_files/hosts.deny dest=/etc/hosts.deny
|
||||||
|
- name: Hosts file Allow
|
||||||
|
copy: src=static_files/hosts.allow dest=/etc/hosts.allow
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: start fail2ban
|
- name: start fail2ban
|
||||||
service: name=fail2ban state=started
|
service: name=fail2ban state=started
|
||||||
|
|
Loading…
Reference in New Issue