2018-09-06 10:48:00 -04:00
|
|
|
---
|
2018-09-06 11:00:07 -04:00
|
|
|
- hosts: all
|
2018-09-06 10:51:43 -04:00
|
|
|
- become: true
|
2018-09-05 19:06:00 -04:00
|
|
|
tasks:
|
2018-09-06 10:48:00 -04:00
|
|
|
- name: Installs fail2ban
|
|
|
|
apt: pkg=fail2ban state=installed update_cache=true
|
|
|
|
|
|
|
|
handlers:
|
|
|
|
- name: start fail2ban
|
|
|
|
service: name=fail2ban state=started
|
2018-09-05 19:06:00 -04:00
|
|
|
|