update hostvars test-playbook

This commit is contained in:
Ruben Blanco 2024-02-14 14:50:00 +01:00
parent fba5f54879
commit cb9bf695e1
1 changed files with 16 additions and 5 deletions

View File

@ -1,11 +1,22 @@
---
bantime: "604800"
maxretry: "4"
findtime: "604800"
jails:
### 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"
backend: "%(sshd_backend)s"
################################################################################