Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

27 Zeilen
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. # Element Call appears to hardcode all paths to `/` (e.g. `/config.json`, `/assets/...`).
  16. # While we can properly serve the homepage and handle stripping the path prefix on our side,
  17. # the hardcoded URLs in the Element Call are pointing people to the wrong place, which is a problem.
  18. - name: Fail if Element Call path prefix is different than /
  19. ansible.builtin.fail:
  20. msg: >
  21. Element Call with a path prefix other than '/' is not supported yet.
  22. You have configured matrix_element_call_path_prefix to '{{ matrix_element_call_path_prefix }}'.
  23. when: "matrix_element_call_path_prefix != '/'"