diff --git a/host_vars/debian-test-awx-ct.yaml b/host_vars/debian-test-awx-ct.yaml index 92f408f..e5bd06f 100644 --- a/host_vars/debian-test-awx-ct.yaml +++ b/host_vars/debian-test-awx-ct.yaml @@ -8,10 +8,10 @@ jails: filter: sshd logpath: /var/log/auth.log port: ['ssh', '22'] - maxretry: 4 - bantime: 604800 - findtime: 604800 - action: "%(action_mwl)s" +# maxretry: 4 +# bantime: 604800 +# findtime: 604800 +# action: "%(action_mwl)s" # - name: asterisk # enabled: true # filter: asterisk diff --git a/roles/config-fail2ban/templates/jail2.j2 b/roles/config-fail2ban/templates/jail2.j2 index 8a5b636..327dce8 100644 --- a/roles/config-fail2ban/templates/jail2.j2 +++ b/roles/config-fail2ban/templates/jail2.j2 @@ -75,9 +75,9 @@ enabled = {{ jail.enabled }} filter = {{ jail.filter }} logpath = {{ jail.logpath }} port = {{ jail.port | join(' ') }} -maxretry = {{ jail.maxretry }} -bantime = {{ jail.bantime }} -findtime = {{ jail.findtime }} -action = {{ jail.action }} +#maxretry = {{ jail.maxretry }} +#bantime = {{ jail.bantime }} +#findtime = {{ jail.findtime }} +#action = {{ jail.action }} {% endfor %} #+++++++++++++++++++++++++++++++++++++