ansible/synapse.yml

39 lines
1.3 KiB
YAML
Raw Normal View History

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 }}"
2019-11-13 20:48:50 +00:00
# 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-11-13 20:48:50 +00:00
# no_tls: false
no_tls: true # Because DH bug
2019-09-24 09:41:01 +00:00
# If false:
2019-11-13 20:48:50 +00:00
# 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: ""
2019-09-21 17:42:08 +00:00
# pre_tasks:
# tasks:
roles:
- synapse