Update 'local.yaml'
parent
a02bd2ffd6
commit
42961b1c05
10
local.yaml
10
local.yaml
|
@ -12,12 +12,18 @@
|
||||||
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.allow
|
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.allow
|
||||||
dest: /etc/hosts.allow
|
dest: /etc/hosts.allow
|
||||||
force: yes
|
force: yes
|
||||||
- name: downlod deny file
|
- name: download deny file
|
||||||
get_url:
|
get_url:
|
||||||
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.deny
|
url: https://git.aanetworks.org/ariel/playbook-base/raw/branch/master/static_files/hosts.deny
|
||||||
dest: /etc/hosts.deny
|
dest: /etc/hosts.deny
|
||||||
force: yes
|
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:
|
handlers:
|
||||||
- name: start fail2ban
|
- name: start fail2ban
|
||||||
service: name=fail2ban state=started
|
service: name=fail2ban state=started
|
||||||
|
|
Loading…
Reference in New Issue