diff --git a/roles/custom/matrix-element-call/defaults/main.yml b/roles/custom/matrix-element-call/defaults/main.yml index c65c6d078..dd8bb98cb 100644 --- a/roles/custom/matrix-element-call/defaults/main.yml +++ b/roles/custom/matrix-element-call/defaults/main.yml @@ -7,7 +7,6 @@ matrix_element_call_hostname: "call.{{ matrix_domain }}" # Base path configuration matrix_element_call_base_path: "{{ matrix_base_data_path }}/element-call" -matrix_homeserver_config_path: "{{ matrix_base_data_path }}/synapse/config/homeserver.yaml" # Docker network configuration matrix_element_call_container_network: '' diff --git a/roles/custom/matrix-element-call/tasks/install.yml b/roles/custom/matrix-element-call/tasks/install.yml index 23b1879a7..bc2238ae7 100644 --- a/roles/custom/matrix-element-call/tasks/install.yml +++ b/roles/custom/matrix-element-call/tasks/install.yml @@ -47,33 +47,3 @@ src: "{{ role_path }}/templates/systemd/matrix-element-call.service.j2" dest: "{{ devture_systemd_docker_base_systemd_path }}/matrix-element-call.service" mode: 0644 - -# Update homeserver.yaml for Element Call -- name: Add listeners section for Element Call to homeserver.yaml - ansible.builtin.blockinfile: - path: "{{ matrix_homeserver_config_path }}" - block: | - listeners: - - port: 8008 - tls: false - type: http - x_forwarded: true - resources: - - names: [client, federation, openid] - compress: false - marker: "# ANSIBLE MANAGED BLOCK - Element Call listeners" - mode: '0644' - owner: "{{ matrix_user_username }}" - group: "{{ matrix_user_groupname }}" - when: matrix_element_call_enabled | bool - -- name: Ensure serve_server_wellknown is enabled in homeserver.yaml - ansible.builtin.lineinfile: - path: "{{ matrix_homeserver_config_path }}" - line: "serve_server_wellknown: true" - insertafter: EOF - state: present - mode: '0644' - owner: "{{ matrix_user_username }}" - group: "{{ matrix_user_groupname }}" - when: matrix_element_call_enabled | bool