From 6c1cc9a7e473dab066fc33926a83ad9420035451 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sun, 23 Aug 2026 19:58:25 +0200 Subject: [PATCH] env for etherpad and whiteboard --- tasks/config.yml | 2 +- templates/env.j2 | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tasks/config.yml b/tasks/config.yml index 171656a..945c119 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -48,7 +48,7 @@ mode: preserve notify: Restart Jitsi -- name: Render Jitsi environment +- name: Create the .env ansible.builtin.template: src: env.j2 dest: "{{ jitsi_install_dir }}/.env" diff --git a/templates/env.j2 b/templates/env.j2 index 1b7d168..eab895a 100644 --- a/templates/env.j2 +++ b/templates/env.j2 @@ -37,6 +37,10 @@ JIGASI_TRANSCRIBER_PASSWORD={{ jitsi_jigasi_transcriber_password }} JIBRI_RECORDER_PASSWORD={{ jitsi_jibri_recorder_password }} JIBRI_XMPP_PASSWORD={{ jitsi_jibri_xmpp_password }} + +ENABLE_ETHERPAD={{ 1 if jitsi_enable_etherpad else 0 }} +ENABLE_WHITEBOARD={{ 1 if jitsi_enable_whiteboard else 0 }} + {% for key, value in jitsi_extra_env.items() %} {{ key }}={{ value }} {% endfor %} \ No newline at end of file