summaryrefslogtreecommitdiff
path: root/roles/apps/jitsi
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-07-11 00:12:53 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-07-11 00:12:53 +0200
commitf4513568d564122ea620ed075514b9e2fe526a6e (patch)
treeafe95f57c9a112f23e50a26ba13e2bb06d7b2015 /roles/apps/jitsi
parentinstall mumble on ele-coturn (diff)
basic install for ele-jitsi
Diffstat (limited to 'roles/apps/jitsi')
-rw-r--r--roles/apps/jitsi/meet/defaults/main.yml4
-rw-r--r--roles/apps/jitsi/meet/templates/pod-spec.yml.j24
2 files changed, 6 insertions, 2 deletions
diff --git a/roles/apps/jitsi/meet/defaults/main.yml b/roles/apps/jitsi/meet/defaults/main.yml
index 527f39b9..c27726f0 100644
--- a/roles/apps/jitsi/meet/defaults/main.yml
+++ b/roles/apps/jitsi/meet/defaults/main.yml
@@ -1,7 +1,7 @@
---
jitsi_meet_base_path: /srv/jitsi/meet
-# jitsi_meet_version: 4101-2
+# jitsi_meet_version: stable-5963
jitsi_meet_inst_name: "{{ jitsi_meet_hostname }}"
# jitsi_meet_hostname: meet.example.com
@@ -14,6 +14,6 @@ jitsi_meet_timezone: Europe/Vienna
### generate these using: openssl rand -hex 16
# jitsi_meet_secrets:
-# jicofo_component_secret: ""
+# jicofo_component_secret: "" ### only needed for versions older than stable-5765-1
# jicofo_auth_password: ""
# jvb_auth_password: ""
diff --git a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2
index 43eb0806..d7a0f7e4 100644
--- a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2
+++ b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2
@@ -33,8 +33,10 @@ containers:
- name: XMPP_INTERNAL_MUC_DOMAIN
value: internal-muc.meet.jitsi
+{% if 'jicofo_component_secret' in jitsi_meet_secrets %}
- name: JICOFO_COMPONENT_SECRET
value: "{{ jitsi_meet_secrets.jicofo_component_secret }}"
+{% endif %}
- name: JICOFO_AUTH_USER
value: focus
- name: JICOFO_AUTH_PASSWORD
@@ -75,8 +77,10 @@ containers:
- name: XMPP_INTERNAL_MUC_DOMAIN
value: internal-muc.meet.jitsi
+{% if 'jicofo_component_secret' in jitsi_meet_secrets %}
- name: JICOFO_COMPONENT_SECRET
value: "{{ jitsi_meet_secrets.jicofo_component_secret }}"
+{% endif %}
- name: JICOFO_AUTH_USER
value: focus
- name: JICOFO_AUTH_PASSWORD