2015-05-28 11:32:57 +02:00
|
|
|
---
|
2015-11-29 20:25:29 +01:00
|
|
|
- name: Install fail2ban on ubuntu >= 14.04 and debian >= 8
|
2019-03-22 17:27:53 +01:00
|
|
|
apt: pkg={{ f2b_packages }} state=present
|
2015-06-19 18:45:02 +02:00
|
|
|
tags: fail2ban
|
2015-05-28 11:32:57 +02:00
|
|
|
|
2015-06-19 18:45:02 +02:00
|
|
|
- name: Ensure that fail2ban is enabled and running
|
|
|
|
service: name=fail2ban state=started enabled=yes
|