Commit a3da9425 authored by nono's avatar nono 💻
Browse files

Les filtres keycloak ne s'appliquent plus sur les hôtes n'ayant pas

keycloak
parent a01a5453
......@@ -24,22 +24,24 @@
notify:
- Relance de fail2ban
- name: Ajout des filtres en plus
template:
src: fail2ban/filter.keycloak.conf
dest: /etc/fail2ban/filter.d/keycloak.conf
owner: root
group: root
mode: 0644
notify:
- Relance de fail2ban
block:
- name: Ajout des filtres keycloak en plus
template:
src: fail2ban/filter.keycloak.conf
dest: /etc/fail2ban/filter.d/keycloak.conf
owner: root
group: root
mode: 0644
notify:
- Relance de fail2ban
- name: Ajout des prisons en plus
template:
src: fail2ban/jail.keycloak.conf.j2
dest: /etc/fail2ban/jail.d/keycloak.conf
owner: root
group: root
mode: 0644
notify:
- Relance de fail2ban
- name: Ajout des prisons keycloak en plus
template:
src: fail2ban/jail.keycloak.conf.j2
dest: /etc/fail2ban/jail.d/keycloak.conf
owner: root
group: root
mode: 0644
notify:
- Relance de fail2ban
when: ansible_facts["nodename"] == "keycloak"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment