Update 'local.yaml'
parent
42961b1c05
commit
9e46fd5ce4
|
@ -4,8 +4,6 @@
|
||||||
become: true
|
become: true
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
tasks:
|
tasks:
|
||||||
- name: Installs fail2ban
|
|
||||||
apt: pkg=fail2ban state=installed update_cache=true
|
|
||||||
|
|
||||||
- name: download allow file
|
- name: download allow file
|
||||||
get_url:
|
get_url:
|
||||||
|
@ -24,6 +22,9 @@
|
||||||
dest: /etc/resolv.conf
|
dest: /etc/resolv.conf
|
||||||
force: yes
|
force: yes
|
||||||
|
|
||||||
|
- name: Installs fail2ban
|
||||||
|
apt: pkg=fail2ban state=installed update_cache=true
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: start fail2ban
|
- name: start fail2ban
|
||||||
service: name=fail2ban state=started
|
service: name=fail2ban state=started
|
||||||
|
|
Loading…
Reference in New Issue