3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-12-22 08:43:08 +00:00

Feat: Added element call setup and configuration.

This commit is contained in:
wjbeckett
2024-09-25 14:53:48 +10:00
parent 482861fce1
commit 6594cce570
20 changed files with 676 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
---
---
# Create the element.json file to point to Element Call
- name: Ensure .well-known/element directory exists
ansible.builtin.file:
path: "{{ matrix_element_call_well_known_element_path | dirname }}"
state: directory
mode: 0755
- name: Create or update the element.json file with Element Call config
ansible.builtin.copy:
dest: "{{ matrix_element_call_well_known_element_path }}"
content: |
{
"call": {
"widget_url": "{{ matrix_element_call_base_url }}"
}
}
mode: '0644'
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"