mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-19 06:33:24 +00:00
updated docs, broke the well-known and element client modifications out to separate tasks.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
- name: Update Element Web config.json settings
|
||||
vars:
|
||||
additional_settings: |
|
||||
{
|
||||
"features": {
|
||||
"feature_video_rooms": true,
|
||||
"feature_new_room_decoration_ui": true,
|
||||
"feature_group_calls": true,
|
||||
"feature_element_call_video_rooms": true
|
||||
},
|
||||
"element_call": {
|
||||
"url": "https://{{ matrix_element_call_domain }}",
|
||||
"participant_limit": 8,
|
||||
"brand": "Element Call",
|
||||
"use_exclusively": true
|
||||
}
|
||||
}
|
||||
set_fact:
|
||||
updated_element_web_config: "{{ (element_web_config_content.content | b64decode | from_json) | combine(additional_settings | from_json, recursive=True) }}"
|
||||
|
||||
- name: Write updated Element Web config.json
|
||||
copy:
|
||||
content: "{{ updated_element_web_config | to_nice_json }}"
|
||||
dest: "{{ element_web_config_path }}"
|
||||
mode: '0644'
|
||||
owner: "{{ matrix_user_username }}"
|
||||
group: "{{ matrix_user_groupname }}"
|
Reference in New Issue
Block a user