summaryrefslogtreecommitdiff
path: root/roles/common/tasks/jitsi_install.yml
diff options
context:
space:
mode:
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