35 lines
730 B
Markdown
35 lines
730 B
Markdown
fail2ban-basic
|
|
=========
|
|
|
|
This role install fail2ban into the target.
|
|
|
|
Requirements
|
|
------------
|
|
|
|
.
|
|
|
|
Role Variables
|
|
--------------
|
|
|
|
- **fail2ban_enabled** (boolean): Enable of disable fail2ban setup
|
|
- **fail2ban_package_name_by_os_family** (array): Each key correspond to [OS family](https://docs.ansible.com/ansible/2.6/user_guide/playbooks_conditionals.html#ansible-os-family), the value correspond to the package name to be installed
|
|
|
|
Dependencies
|
|
------------
|
|
|
|
.
|
|
|
|
Example Playbook
|
|
----------------
|
|
|
|
`ansible-playbook -i inventory/example.yml handbook.yml --extra-vars="target=your_target" --tags fail2ban`
|
|
|
|
License
|
|
-------
|
|
|
|
GPLv3
|
|
|
|
Author Information
|
|
------------------
|
|
|
|
- [Claudio Maradonna](https://social.unitoo.it/claudio)
|