diff --git a/roles/config-fail2ban/templates/jail.j2 b/roles/config-fail2ban/templates/jail.j2 index 561913a..3ce7852 100644 --- a/roles/config-fail2ban/templates/jail.j2 +++ b/roles/config-fail2ban/templates/jail.j2 @@ -11,7 +11,8 @@ bantime = {{ bantime }} maxretry = {{ maxretry }} findtime = {{ findtime }} destemail = sysadmin@verdnatura.es -action = %(action_)s +sender = root@{{ ansible_nodename }}.verdnatura.es +action = %(action_mwl)s #+++++++++++++++++++++++++++++++++++++ {% for jail in jails %}