2019-09-21 17:42:08 +00:00
|
|
|
---
|
|
|
|
- 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"
|
2019-09-24 09:41:01 +00:00
|
|
|
|
2019-09-21 17:42:08 +00:00
|
|
|
|
|
|
|
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
|
2019-09-24 09:41:01 +00:00
|
|
|
no_tls: true
|
|
|
|
# If false:
|
|
|
|
# matrix_synapse_tls_cert: ""
|
|
|
|
# matrix_synapse_tls_key: ""
|
2019-09-21 17:42:08 +00:00
|
|
|
|
|
|
|
# pre_tasks:
|
|
|
|
# tasks:
|
|
|
|
roles:
|
|
|
|
- synapse
|