Update for EL9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
ee94012e2c
commit
4b1480556a
2 changed files with 11 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
package:
|
package:
|
||||||
name: "{{ fail2ban_packages }}"
|
name: "{{ fail2ban_packages }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: true
|
||||||
|
|
||||||
- name: Test if paths overrides file exist
|
- name: Test if paths overrides file exist
|
||||||
stat:
|
stat:
|
||||||
|
|
@ -38,6 +38,6 @@
|
||||||
- name: Enable fail2ban services
|
- name: Enable fail2ban services
|
||||||
service:
|
service:
|
||||||
name: "fail2ban"
|
name: "fail2ban"
|
||||||
enabled: yes
|
enabled: true
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
9
vars/RedHat_9.yml
Normal file
9
vars/RedHat_9.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
fail2ban_packages:
|
||||||
|
- fail2ban
|
||||||
|
- fail2ban-firewalld
|
||||||
|
- fail2ban-mail
|
||||||
|
- fail2ban-systemd
|
||||||
|
# - fail2ban-sendmail
|
||||||
|
# - fail2ban-server
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue