From 40de387a7efad315da1566f09faf1c3dd5787dcf Mon Sep 17 00:00:00 2001 From: Ariel Antigua Date: Thu, 6 Sep 2018 12:09:42 -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 b160db1..291331f 100644 --- a/local.yaml +++ b/local.yaml @@ -4,11 +4,15 @@ tasks: - name: Installs fail2ban apt: pkg=fail2ban state=installed update_cache=true + - git: + repo: https://git.aanetworks.org/ariel/playbook-base.git + dest: /tmp/basefiles + - name: Hosts file Deny - copy: src=static_files/hosts.deny dest=/etc/hosts.deny + copy: src=/tmp/basefiles/static_files/hosts.deny dest=/etc/hosts.deny - name: Hosts file Allow - copy: src=static_files/hosts.allow dest=/etc/hosts.allow + copy: src=/tmp/basefiles/static_files/hosts.allow dest=/etc/hosts.allow handlers: - name: start fail2ban