3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-01-06 16:10:26 +00:00

separated livekit and jwt to separate roles

This commit is contained in:
wjbeckett
2024-09-30 22:20:46 +10:00
parent b907777ae5
commit 8cb3e33bbf
29 changed files with 634 additions and 366 deletions

View File

@@ -1,24 +0,0 @@
---
---
# Update the .well-known/matrix/client file with Element Call config
- name: Ensure .well-known directory exists
ansible.builtin.file:
path: "{{ matrix_element_call_well_known_client_path | dirname }}"
state: directory
mode: 0755
- name: Update .well-known/matrix/client file with Element Call config
ansible.builtin.blockinfile:
path: "{{ matrix_element_call_well_known_client_path }}"
block: |
"org.matrix.msc4143.rtc_foci": [
{
"type": "livekit",
"livekit_service_url": "{{ matrix_element_call_jwt_service_url }}"
}
]
create: yes
mode: '0644'
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"