add action
This commit is contained in:
parent
c4f2ec3876
commit
be7cf2ec9c
|
@ -11,6 +11,7 @@ jails:
|
|||
maxretry: 10
|
||||
bantime: 10m
|
||||
findtime: 10m
|
||||
action: iptables
|
||||
#- name: asterisk
|
||||
# enabled: true
|
||||
# filter: asterisk
|
||||
|
|
|
@ -15,6 +15,12 @@ sender = root@{{ ansible_nodename }}.verdnatura.es
|
|||
action = %(action_mwl)s
|
||||
#+++++++++++++++++++++++++++++++++++++
|
||||
|
||||
# 31536000 ; year
|
||||
# 18144000 ; 30days
|
||||
# 604800 ; 1 week
|
||||
# 86400 ; 1 day
|
||||
# 3600 ; 1 hour
|
||||
|
||||
{% for jail in jails %}
|
||||
#+++++++++++++++++++++++++++++++++++++
|
||||
[{{ jail.name }}]
|
||||
|
@ -25,5 +31,6 @@ port = {{ jail.port | join(' ') }}
|
|||
maxretry = {{ jail.maxretry }}
|
||||
bantime = {{ jail.bantime }}
|
||||
findtime = {{ jail.findtime }}
|
||||
action = {{ jail.action }}
|
||||
{% endfor %}
|
||||
#+++++++++++++++++++++++++++++++++++++
|
||||
|
|
Loading…
Reference in New Issue