ajout du nouveau serveur imio + réoganisation des variables

This commit is contained in:
Antoine Ouvrard
2020-04-07 21:05:24 +02:00
parent 1dbb1b6725
commit 065cf62a4c
11 changed files with 38 additions and 12 deletions
+2 -2
View File
@@ -6,8 +6,8 @@
path: "/etc/jitsi/videobridge/sip-communicator.properties"
regexp: "^org.jitsi.videobridge.ENABLE_STATISTICS"
line: "org.jitsi.videobridge.ENABLE_STATISTICS=true"
- name: "configuration de jvb pour transporter les stats via colibri REST api"
- name: configuration du videobridge pour transporter les stats via colibri REST api
lineinfile:
path: "/etc/jitsi/videobridge/sip-communicator.properties"
regexp: "^org.jitsi.videobridge.STATISTICS_TRANSPORT"
+8 -4
View File
@@ -1,9 +1,13 @@
---
- name: Installation de fail2ban
- name: Installation de fail2ban et nftables
apt:
name: fail2ban
pkg:
- fail2ban
- nftables
update_cache: true
state: present
- name: Appliquation des règles de ban
- name: Appliquation des règles de ban ssh
template:
src: ../files/jail.conf
dest: /etc/fail2ban/jail.d/jail.conf
@@ -27,5 +31,5 @@
src: ../files/nftables.conf
dest: /etc/nftables.conf
notify:
- start nftables
- restarted nftables
- restart fail2ban