From 942b8c2e8975a772352b259b369c74d193862ea7 Mon Sep 17 00:00:00 2001 From: Ariel Antigua Date: Thu, 6 Sep 2018 11:14:59 -0400 Subject: [PATCH] Update 'local.yaml' --- local.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/local.yaml b/local.yaml index bcf5bfe..b160db1 100644 --- a/local.yaml +++ b/local.yaml @@ -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 - \ No newline at end of file + service: name=fail2ban state=started \ No newline at end of file