You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-roles/fail2ban
Jérémy Lecour ee21973371
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
Use FQCN
Fully Qualified Collection Name
2 months ago
..
defaults Fail2ban: Multiple changes & improvements : 12 months ago
files fail2ban: add 'Internal login failure' to Dovecot filter 4 months ago
handlers Use FQCN 2 months ago
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
tasks Use FQCN 2 months ago
templates Proper jinja spacing 5 months ago
tests Ensure apply dbpurgeage from stretch and buster for fail2ban 11 months ago
.kitchen.yml Kitchen: Change base image to evolix/ansible 6 years ago
README.md apache/nginx/fail2ban: mention ip_whitelist.yml in README.md 5 years ago

README.md

fail2ban

Install Fail2ban.

Tasks

Everything is in the tasks/main.yml file.

An ip_whitelist.yml standalone task file is available to update IP adresses whitelist without rolling the whole role.

Available variables

Main variables are :

  • general_alert_email: email address to send various alert messages (default: root@localhost).
  • fail2ban_alert_email: email address for messages sent to root (default: general_alert_email).
  • fail2ban_default_ignore_ips: default list of IPs to ignore (default: empty).
  • fail2ban_additional_ignore_ips: additional list of IPs to ignore (default: empty).
  • fail2ban_disable_ssh: if true, the "sshd" filter is disabled, otherwise nothing is done, not even enabling the filter (default: False).

The full list of variables (with default values) can be found in defaults/main.yml.