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