--- - hosts: synapse # todo: create user for synapse vars: # matrix_synapse_version: "v1.3.1" # localhosts causes certificate generation bugs # matrix_server_name: localhost matrix_server_name: dev matrix_synapse_deployment_method: pip matrix_synapse_baseurl: "https://{{ matrix_server_name }}" # matrix_synapse_signing_key_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.signing.key" matrix_synapse_pg_host: localhost matrix_synapse_pg_user: "{{ synapse_dbuser }}" matrix_synapse_pg_pass: "{{ synapse_dbpw }}" matrix_synapse_pg_db: "{{ synapse_dbname }}" matrix_synapse_report_stats: false # Report stats to matrix.org? matrix_synapse_extra_config: # no_tls:true disables port 8448 # no_tls: false no_tls: true # Because DH bug # If false: # tls_certificate_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.crt" # tls_private_key_path: "{{ matrix_synapse_base_path }}/tls/{{ matrix_server_name }}.key" # acme: # enabled: false # url: https://acme-v01.api.letsencrypt.org/directory # port: 80 # bind_addresses: ['::', '0.0.0.0'] # reprovision_threshold: 30 # matrix_synapse_tls_cert: "" # matrix_synapse_tls_key: "" # pre_tasks: # tasks: roles: - synapse