Make Element Call role not reference foreign variables (except the matrix-base ones)

This commit is contained in:
Slavi Pantaleev
2025-03-12 08:56:15 +02:00
parent 23efad9cb7
commit 2be4923aef
5 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
---
# roles/custom/matrix-element-call/tasks/install.yml
- name: Ensure Element Call paths exist
ansible.builtin.file:
@ -16,7 +15,6 @@
group: "{{ matrix_user_groupname }}"
with_items:
- path: "{{ matrix_element_call_base_path }}"
- path: "{{ matrix_base_data_path }}/static-files/public/.well-known/element" # Directory for element.json
- name: Ensure Element Call config.json is in place
ansible.builtin.template:

View File

@ -14,6 +14,7 @@
with_items:
- {'name': 'matrix_element_call_container_network', when: true}
- {'name': 'matrix_element_call_hostname', when: true}
- {'name': 'matrix_element_call_config_livekit_livekit_service_url', when: true}
# Element Call appears to hardcode all paths to `/` (e.g. `/config.json`, `/assets/...`).
# While we can properly serve the homepage and handle stripping the path prefix on our side,