summaryrefslogtreecommitdiff
path: root/roles/common/tasks/jitsi_install.yml
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@nereide.fr>2020-04-03 20:51:16 +0200
committerAntoine Ouvrard <antoine.ouvrard@nereide.fr>2020-04-03 20:51:16 +0200
commit48d28ea3174cc05119b3d906bd1dc68077a1b16b (patch)
tree81bb7e0f0a761ef76dda6da7b26abc741770d43e /roles/common/tasks/jitsi_install.yml
parentbf81a41063e0142c9d723402fbad76e95ef364b2 (diff)
ajout du firewall et fail2ban
Diffstat (limited to 'roles/common/tasks/jitsi_install.yml')
-rw-r--r--roles/common/tasks/jitsi_install.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/common/tasks/jitsi_install.yml b/roles/common/tasks/jitsi_install.yml
new file mode 100644
index 0000000..e22c5ba
--- /dev/null
+++ b/roles/common/tasks/jitsi_install.yml
@@ -0,0 +1,30 @@
+---
+- name: Ajout de la clé GPG pour le depot jitsi
+ apt_key:
+ url: https://download.jitsi.org/jitsi-key.gpg.key
+
+- name: Ajout du depot jitsi
+ apt_repository:
+ repo: deb https://download.jitsi.org stable/
+
+- name: apt update
+ apt:
+ update_cache: true
+
+- name: Application du hostname avant installation
+ debconf:
+ name: jitsi-meet-web-config
+ question: jitsi-videobridge/jvb-hostname
+ value: '{{ inventory_hostname }}'
+ vtype: string
+
+- name: On veut un certificat autogénéré
+ debconf:
+ name: jitsi-meet-web-config
+ question: jitsi-meet/cert-choice
+ value: "Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)"
+ vtype: string
+
+- name: installation de jitsi
+ apt:
+ name: jitsi-meet