Update 'local.yaml'

master
Ariel Antigua 2018-09-06 12:09:42 -04:00
parent c72d526844
commit 40de387a7e
1 changed files with 6 additions and 2 deletions

View File

@ -4,11 +4,15 @@
tasks: tasks:
- name: Installs fail2ban - name: Installs fail2ban
apt: pkg=fail2ban state=installed update_cache=true 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 - 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 - 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: handlers:
- name: start fail2ban - name: start fail2ban