Update 'local.yaml'

master
Ariel Antigua 2018-09-06 15:27:13 -04:00
parent b339f0ac67
commit dfa5c32d2c
1 changed files with 4 additions and 10 deletions

View File

@ -9,19 +9,13 @@
- name: download allow file - name: download allow file
get_url: get_url:
url: https://git.aanetworks.org/ariel/playbook-base/src/branch/master/static_files/hosts.allow url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.allow
dest: /tmp/hosts.allow dest: /etc/hosts.allow
- name: downlod deny file - name: downlod deny file
get_url: get_url:
url: https://git.aanetworks.org/ariel/playbook-base/src/branch/master/static_files/hosts.deny url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.deny
dest: /tmp/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: handlers:
- name: start fail2ban - name: start fail2ban
service: name=fail2ban state=started service: name=fail2ban state=started