Update for EL9
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Adrien Reslinger 2022-07-19 16:55:13 +02:00
parent ee94012e2c
commit 4b1480556a
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
2 changed files with 11 additions and 2 deletions

View file

@ -6,7 +6,7 @@
package:
name: "{{ fail2ban_packages }}"
state: present
update_cache: yes
update_cache: true
- name: Test if paths overrides file exist
stat:
@ -38,6 +38,6 @@
- name: Enable fail2ban services
service:
name: "fail2ban"
enabled: yes
enabled: true

9
vars/RedHat_9.yml Normal file
View file

@ -0,0 +1,9 @@
---
fail2ban_packages:
- fail2ban
- fail2ban-firewalld
- fail2ban-mail
- fail2ban-systemd
# - fail2ban-sendmail
# - fail2ban-server