Update install.yml

This commit is contained in:
Backslash 2024-09-26 18:50:48 +10:00 committed by GitHub
parent f38d6a0d88
commit 9cb236da30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,11 +150,18 @@
group: "{{ matrix_user_groupname }}" group: "{{ matrix_user_groupname }}"
when: matrix_element_call_enabled | bool when: matrix_element_call_enabled | bool
# Update the .well-known/matrix/client file # Update the well-known client file for Element Call (adding RTC FOCI)
- name: Update the well-known client file - name: Update the existing well-known client file for Element Call (RTC FOCI)
ansible.builtin.template: ansible.builtin.blockinfile:
src: "{{ role_path }}/templates/well_known_client.json.j2" path: "{{ matrix_base_data_path }}/static-files/public/.well-known/matrix/client"
dest: "{{ matrix_base_data_path }}/static-files/public/.well-known/matrix/client" block: |
"org.matrix.msc4143.rtc_foci": [
{
"type": "livekit",
"livekit_service_url": "{{ matrix_element_call_jwt_service_url }}"
}
]
marker: "# ANSIBLE MANAGED BLOCK - Element Call RTC FOCI"
mode: '0644' mode: '0644'
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}" group: "{{ matrix_user_groupname }}"