2020-04-08 14:37:54 +08:00
---
- name : Fail if required Jitsi settings not defined
fail :
msg : >-
2021-12-09 13:42:36 +08:00
You need to define a required configuration setting (`{{ item }}`) to properly configure Jitsi.
2020-04-08 14:37:54 +08:00
If you're setting up Jitsi for the first time, you may have missed a step.
Refer to our setup instructions (docs/configuring-playbook-jitsi.md).
2021-12-09 13:42:36 +08:00
If you had previously setup Jitsi successfully and are only now facing this error,
it means that your installation is most likely using default passwords previously defined by the playbook.
These defaults are insecure. Jitsi should be rebuilt with secure values.
2020-04-08 14:37:54 +08:00
Refer to the "Rebuilding your Jitsi installation" section in our setup instructions (docs/configuring-playbook-jitsi.md).
when : "vars[item] == ''"
with_items :
- "matrix_jitsi_jibri_xmpp_password"
- "matrix_jitsi_jibri_recorder_password"
- "matrix_jitsi_jicofo_auth_password"
- "matrix_jitsi_jvb_auth_password"
2020-11-27 23:28:24 +08:00
2021-12-09 13:42:36 +08:00
2021-12-10 06:30:32 +08:00
- name : Fail if a Jitsi internal authentication account is not defined
2021-12-09 13:42:36 +08:00
fail :
msg : >-
2021-12-11 16:14:33 +08:00
At least one Jitsi user needs to be defined in `matrix_jitsi_prosody_auth_internal_accounts` when using internal authentication.
2021-12-09 13:42:36 +08:00
If you're setting up Jitsi for the first time, you may have missed a step.
Refer to our setup instructions (docs/configuring-playbook-jitsi.md).
2021-12-09 18:54:40 +08:00
when :
- matrix_jitsi_enable_auth|bool
- matrix_jitsi_auth_type == 'internal'
2021-12-11 16:14:33 +08:00
- matrix_jitsi_prosody_auth_internal_accounts|length == 0
2021-12-09 13:42:36 +08:00
2020-11-27 23:28:24 +08:00
- name : (Deprecation) Catch and report renamed settings
fail :
msg : >-
Your configuration contains a variable, which now has a different name.
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
when : "item.old in vars"
with_items :
- {'old': 'matrix_jitsi_web_config_constraints_enabled', 'new' : '<Now unnecessary. Constraints are always applied automatically>' }
- {'old': 'matrix_jitsi_web_config_constraints_video_aspectRatio', 'new' : '<Not applicable anymore>' }
- {'old': 'matrix_jitsi_web_config_constraints_video_height_ideal', 'new' : 'matrix_jitsi_web_config_resolution_height_ideal_and_max' }
- {'old': 'matrix_jitsi_web_config_constraints_video_height_max', 'new' : 'matrix_jitsi_web_config_resolution_height_ideal_and_max' }
- {'old': 'matrix_jitsi_web_config_constraints_video_height_min', 'new' : 'matrix_jitsi_web_config_resolution_height_min' }
- {'old': 'matrix_jitsi_web_config_disableAudioLevels', 'new' : '<Can be set by using matrix_jitsi_web_custom_config_extension. Example in docs/configuring-playbook-jitsi.md>' }
- {'old': 'matrix_jitsi_web_config_enableLayerSuspension', 'new' : '<Can be set by using matrix_jitsi_web_custom_config_extension. Example in docs/configuring-playbook-jitsi.md>' }
- {'old': 'matrix_jitsi_web_config_channelLastN', 'new' : '<Can be set by using matrix_jitsi_web_custom_config_extension. Example in docs/configuring-playbook-jitsi.md>' }
- {'old': 'matrix_jitsi_web_config_testing_p2pTestMode', 'new' : '<Can be set by using matrix_jitsi_web_custom_config_extension>' }
- {'old': 'matrix_jitsi_web_config_start_with_audio_muted', 'new' : '<Superseded by matrix_jitsi_web_config_start_audio_muted_after_nth_participant>' }
- {'old': 'matrix_jitsi_web_config_start_with_video_muted', 'new' : '<Superseded by matrix_jitsi_web_config_start_video_muted_after_nth_participant>' }
- {'old': 'matrix_jitsi_web_interface_config_show_watermark_for_guests', 'new' : '<Not applicable anymore>' }
- {'old': 'matrix_jitsi_web_interface_config_invitation_powered_by', 'new' : '<Not applicable anymore>' }
2021-03-29 14:24:35 +08:00
- {'old': 'matrix_jisti_web_interface_config_show_deep_linking_image', 'new' : 'matrix_jitsi_web_interface_config_show_deep_linking_image' }
2022-01-02 17:54:51 +08:00
- {'old': 'matrix_jitsi_web_interface_config_lang_detection', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_show_jitsi_watermark', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_jitsi_watermark_link', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_show_brand_watermark', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_brand_watermark_link', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_generate_room_names_on_welcome_page', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_display_welcome_page_content', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_app_name', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_native_app_name', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_provider_name', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_show_powered_by', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_disable_transcription_subtitles', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }
- {'old': 'matrix_jitsi_web_interface_config_show_deep_linking_image', 'new' : '<Deprecated, use matrix_jitsi_web_custom_interface_config_extension instead' }