From d138458b94886234f429a6fcc89c1900c9b4a0e1 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 22 Dec 2023 21:13:41 +0100 Subject: [PATCH] Deactivated Whatsapp Bridge --- roles/docker-matrix-compose/tasks/main.yml | 22 +++++++++---------- .../templates/homeserver.yaml.j2 | 2 +- .../templates/whatsapp-bridge-config.yml.j2 | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/roles/docker-matrix-compose/tasks/main.yml b/roles/docker-matrix-compose/tasks/main.yml index aa51f8a7..bdaae94c 100644 --- a/roles/docker-matrix-compose/tasks/main.yml +++ b/roles/docker-matrix-compose/tasks/main.yml @@ -17,17 +17,17 @@ state: directory mode: 0755 -- name: "create {{docker_compose_instance_directory}}mautrix_whatsapp" - file: - path: "{{docker_compose_instance_directory}}mautrix_whatsapp" - state: directory - mode: 0755 - -- name: add whatsapp-bridge-config.yml - template: - src: "whatsapp-bridge-config.yml.j2" - dest: "{{docker_compose_instance_directory}}mautrix_whatsapp/config.yml" - notify: recreate matrix +#- name: "create {{docker_compose_instance_directory}}mautrix_whatsapp" +# file: +# path: "{{docker_compose_instance_directory}}mautrix_whatsapp" +# state: directory +# mode: 0755 +# +#- name: add whatsapp-bridge-config.yml +# template: +# src: "whatsapp-bridge-config.yml.j2" +# dest: "{{docker_compose_instance_directory}}mautrix_whatsapp/config.yml" +# notify: recreate matrix - name: add element-config.json template: diff --git a/roles/docker-matrix-compose/templates/homeserver.yaml.j2 b/roles/docker-matrix-compose/templates/homeserver.yaml.j2 index 39ccd99c..9509c15b 100644 --- a/roles/docker-matrix-compose/templates/homeserver.yaml.j2 +++ b/roles/docker-matrix-compose/templates/homeserver.yaml.j2 @@ -12,7 +12,7 @@ database: name: psycopg2 args: user: matrix - password: {{matrix_database_password}} + password: "{{matrix_database_password}}" database: matrix host: database cp_min: 5 diff --git a/roles/docker-matrix-compose/templates/whatsapp-bridge-config.yml.j2 b/roles/docker-matrix-compose/templates/whatsapp-bridge-config.yml.j2 index bfe1912d..ddaf5e7a 100644 --- a/roles/docker-matrix-compose/templates/whatsapp-bridge-config.yml.j2 +++ b/roles/docker-matrix-compose/templates/whatsapp-bridge-config.yml.j2 @@ -3,7 +3,7 @@ homeserver: # The address that this appservice can use to connect to the homeserver. address: https://{{synapse_domain}} # The domain of the homeserver (for MXIDs, etc). - domain: {{synapse_domain}} + domain: "{{synapse_domain}}" # What software is the homeserver running? # Standard Matrix homeservers like Synapse, Dendrite and Conduit should just use "standard" here.