Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

28 行
1.2 KiB

  1. # SPDX-FileCopyrightText: 2022 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2024 wjbeckett
  3. # SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. - name: Fail if required Element Call settings are not defined
  8. ansible.builtin.fail:
  9. msg: >
  10. You need to define a required configuration setting (`{{ item.name }}`).
  11. when: "item.when | bool and vars[item.name] | length == 0"
  12. with_items:
  13. - {'name': 'matrix_element_call_container_network', when: true}
  14. - {'name': 'matrix_element_call_hostname', when: true}
  15. - {'name': 'matrix_element_call_config_livekit_livekit_service_url', when: true}
  16. # Element Call appears to hardcode all paths to `/` (e.g. `/config.json`, `/assets/...`).
  17. # While we can properly serve the homepage and handle stripping the path prefix on our side,
  18. # the hardcoded URLs in the Element Call are pointing people to the wrong place, which is a problem.
  19. - name: Fail if Element Call path prefix is different than /
  20. ansible.builtin.fail:
  21. msg: >
  22. Element Call with a path prefix other than '/' is not supported yet.
  23. You have configured matrix_element_call_path_prefix to '{{ matrix_element_call_path_prefix }}'.
  24. when: "matrix_element_call_path_prefix != '/'"