summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-03-30 00:12:26 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-03-30 00:12:26 +0200
commit1e22ae2d37d304a9b0559735951ef314bd4e989e (patch)
tree2e2c6a0d404ca2f8869683381ea3e9f5df3ac88a
parentadd glt-datacop (diff)
jitsi/meet: make p2p mode configureable
-rw-r--r--inventory/host_vars/glt-jitsi.yml2
-rw-r--r--inventory/host_vars/sk-cloudio/jitsi.yml2
-rw-r--r--roles/apps/jitsi/meet/defaults/main.yml2
-rw-r--r--roles/apps/jitsi/meet/templates/pod-spec.yml.j22
4 files changed, 8 insertions, 0 deletions
diff --git a/inventory/host_vars/glt-jitsi.yml b/inventory/host_vars/glt-jitsi.yml
index c09283e1..a8083769 100644
--- a/inventory/host_vars/glt-jitsi.yml
+++ b/inventory/host_vars/glt-jitsi.yml
@@ -23,4 +23,6 @@ jitsi_meet_base_path: /srv/jitsi/meet
jitsi_meet_version: stable-5390-3
jitsi_meet_hostname: jitsi.linuxtage.at
+jitsi_meet_p2p_enable: no
+
jitsi_meet_secrets: "{{ vault_jitsi_meet_secrets }}"
diff --git a/inventory/host_vars/sk-cloudio/jitsi.yml b/inventory/host_vars/sk-cloudio/jitsi.yml
index 0a20fc79..8c593bb5 100644
--- a/inventory/host_vars/sk-cloudio/jitsi.yml
+++ b/inventory/host_vars/sk-cloudio/jitsi.yml
@@ -4,4 +4,6 @@ jitsi_meet_base_path: /srv/storage/jitsi/meet
jitsi_meet_version: stable-5390-3
jitsi_meet_hostname: meet.elev8.at
+jitsi_meet_p2p_enable: no
+
jitsi_meet_secrets: "{{ vault_jitsi_meet_secrets }}"
diff --git a/roles/apps/jitsi/meet/defaults/main.yml b/roles/apps/jitsi/meet/defaults/main.yml
index 8f469ffe..527f39b9 100644
--- a/roles/apps/jitsi/meet/defaults/main.yml
+++ b/roles/apps/jitsi/meet/defaults/main.yml
@@ -8,6 +8,8 @@ jitsi_meet_inst_name: "{{ jitsi_meet_hostname }}"
jitsi_meet_http_port: 8400
jitsi_meet_jvb_port: 10000
+jitsi_meet_p2p_enable: yes
+
jitsi_meet_timezone: Europe/Vienna
### generate these using: openssl rand -hex 16
diff --git a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2
index fa00b17a..43eb0806 100644
--- a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2
+++ b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2
@@ -115,6 +115,8 @@ containers:
value: "1"
- name: ENABLE_HTTP_REDIRECT
value: "0"
+ - name: ENABLE_P2P
+ value: "{{ jitsi_meet_p2p_enable | ternary('true', 'false') }}"
- name: XMPP_SERVER
value: 127.0.0.1