fix: minor change in the readme

This commit is contained in:
Adrien Waksberg 2018-08-10 23:58:19 +02:00
parent 3a5eda61c7
commit 4cba04084a

View file

@ -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:
@ -44,11 +49,11 @@ None
## Development ## Development
### Tests with docker ### Tests with docker
* install [docker](https://docs.docker.com/engine/installation/) * install [docker](https://docs.docker.com/engine/installation/)
* install ruby * install ruby
* install bundler `gem install bundler` * install bundler `gem install bundler`
* install dependencies `bundle install` * install dependencies `bundle install`
* run the tests `kitchen test` * run the tests `kitchen test`
## License ## License