fix: minor change in the readme
This commit is contained in:
parent
3a5eda61c7
commit
4cba04084a
1 changed files with 12 additions and 7 deletions
|
@ -7,7 +7,8 @@ Install and configure Fail2ban
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
None
|
* Ansible >= 2.2
|
||||||
|
* Debian Stretch
|
||||||
|
|
||||||
## Role variables
|
## Role variables
|
||||||
|
|
||||||
|
@ -17,11 +18,14 @@ None
|
||||||
* `fail2ban_maxretry` - default max retry before a ban (default: `6`)
|
* `fail2ban_maxretry` - default max retry before a ban (default: `6`)
|
||||||
* `fail2ban_ignoreip` - array with the ips ignored
|
* `fail2ban_ignoreip` - array with the ips ignored
|
||||||
* `fail2ban_filters` - array with custom filters
|
* `fail2ban_filters` - array with custom filters
|
||||||
|
|
||||||
```
|
```
|
||||||
- name: web
|
- name: web
|
||||||
failregex: Login failed.*Remote IP.*'<HOST>'
|
failregex: Login failed.*Remote IP.*'<HOST>'
|
||||||
```
|
```
|
||||||
* `fail2ban_jails` - array with the modules to enable
|
|
||||||
|
* `fail2ban_jails` - array with the jails to enable
|
||||||
|
|
||||||
```
|
```
|
||||||
- name: web
|
- name: web
|
||||||
logpath: /var/log/web.log
|
logpath: /var/log/web.log
|
||||||
|
@ -35,6 +39,7 @@ None
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
* Install:
|
* Install:
|
||||||
|
|
||||||
```
|
```
|
||||||
- hosts: server
|
- hosts: server
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Reference in a new issue