Update 'local.yaml'

master
Ariel Antigua 2018-09-06 16:11:00 -04:00
parent a02bd2ffd6
commit 42961b1c05
1 changed files with 8 additions and 2 deletions

View File

@ -12,12 +12,18 @@
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.allow
dest: /etc/hosts.allow
force: yes
- name: downlod deny file
- name: download deny file
get_url:
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.deny
dest: /etc/hosts.deny
force: yes
- name: download resolv file
get_url:
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/resolv.conf
dest: /etc/resolv.conf
force: yes
handlers:
- name: start fail2ban
service: name=fail2ban state=started