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