Initial role commit

This commit is contained in:
hiperman
2025-12-02 22:35:27 -05:00
parent 4566427755
commit 2268044797
9 changed files with 668 additions and 2 deletions

27
vars/main.yaml Normal file
View File

@@ -0,0 +1,27 @@
fail2ban_base_configuration:
- option: loglevel
value: "{{ fail2ban_loglevel }}"
section: Definition
- option: logtarget
value: "{{ fail2ban_logtarget }}"
section: Definition
fail2ban_base_jail_configuration:
- option: ignoreself
value: "{{ fail2ban_ignoreself }}"
section: DEFAULT
- option: ignoreip
value: "{{ fail2ban_ignoreips | join(' ') }}"
section: DEFAULT
- option: bantime
value: "{{ fail2ban_bantime }}"
section: DEFAULT
- option: findtime
value: "{{ fail2ban_findtime }}"
section: DEFAULT
- option: maxretry
value: "{{ fail2ban_maxretry }}"
section: DEFAULT
- option: backend
section: DEFAULT
value: "{{ fail2ban_backend }}"