From dfa5c32d2cd599186b8809c5089a9f5b532f97fa Mon Sep 17 00:00:00 2001 From: Ariel Antigua Date: Thu, 6 Sep 2018 15:27:13 -0400 Subject: [PATCH] Update 'local.yaml' --- local.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/local.yaml b/local.yaml index 97cbd2e..dbb7b5f 100644 --- a/local.yaml +++ b/local.yaml @@ -9,19 +9,13 @@ - name: download allow file get_url: - url: https://git.aanetworks.org/ariel/playbook-base/src/branch/master/static_files/hosts.allow - dest: /tmp/hosts.allow + url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.allow + dest: /etc/hosts.allow - name: downlod deny file get_url: - url: https://git.aanetworks.org/ariel/playbook-base/src/branch/master/static_files/hosts.deny - dest: /tmp/hosts.deny + url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.deny + dest: /etc/hosts.deny - - - name: Hosts file Deny - copy: src=/tmp/hosts.deny dest=/etc/hosts.deny - - name: Hosts file Allow - copy: src=/tmp/hosts.allow dest=/etc/hosts.allow - handlers: - name: start fail2ban service: name=fail2ban state=started \ No newline at end of file