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