configurations-ansible/roles/fail2ban-basic/README.md

36 lines
730 B
Markdown
Raw Normal View History

2022-11-21 16:52:36 +01:00
fail2ban-basic
=========
2022-11-21 16:52:36 +01:00
This role install fail2ban into the target.
Requirements
------------
2022-11-21 16:52:36 +01:00
.
Role Variables
--------------
2022-11-21 16:52:36 +01:00
- **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
------------
2022-11-21 16:52:36 +01:00
.
Example Playbook
----------------
2022-11-21 16:52:36 +01:00
`ansible-playbook -i inventory/example.yml handbook.yml --extra-vars="target=your_target" --tags fail2ban`
License
-------
2022-11-21 16:52:36 +01:00
GPLv3
Author Information
------------------
2022-11-21 16:52:36 +01:00
- [Claudio Maradonna](https://social.unitoo.it/claudio)