This role installs any version of Fail2Ban with minimum requirements and configure operator customized or pre-made jails by Fail2Ban community to secure the system from dictionary attacks--or brute-force.
Default behavior of this role is to install Fail2Ban from its git repository with defined latest version and, of course, start the service.
This role only requires Ansible and operating system that is stated in Compatibility Chart.
There is no additional variables for this role.
- hosts: servers
roles:
- role: ansible-role-fail2ban
We use SemVer for versioning. For the versions available, see the releases on this repository.