Update 'local.yaml'

master
Ariel Antigua 2018-09-06 11:14:59 -04:00
parent d78011c4d0
commit 942b8c2e89
1 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,11 @@
- name: Installs fail2ban
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:
- name: start fail2ban
service: name=fail2ban state=started
service: name=fail2ban state=started