--- ### COMMON ##################################################################### hostname: 'test-playbook' hosts: - ip: 127.0.0.1 name: localhost ################################################################################ ### FAIL2BAN #################################################################### fail2ban_times: bantime: "604800" maxretry: "4" findtime: "604800" fail2ban_jails: - name: sshd enabled: true port: ['22'] filter: sshd logpath: "%(sshd_log)s" backend: "%(sshd_backend)s" ################################################################################