No description
Find a file
Emmanouil Kampitakis 731b6b6266 First draft of synapse configuration
Configuration is now described in a variable. This reduces the amount of
documentation needed in the role and allows for a better upstream
compatibility
2019-02-12 02:30:50 +01:00
defaults Bump synapse version 2019-02-11 23:10:39 +01:00
files Static files should not be used as templates 2018-12-02 23:46:46 +01:00
handlers rotate logs 2018-08-17 16:22:08 +02:00
meta moved role out of matrix-ansible 2018-07-30 16:56:33 +02:00
tasks Remove signing key creation from configuration 2018-12-03 23:29:54 +01:00
templates Static files should not be used as templates 2018-12-02 23:46:46 +01:00
vars First draft of synapse configuration 2019-02-12 02:30:50 +01:00
README.md Bump synapse version 2019-02-11 23:10:39 +01:00

matrix-synapse

Install a matrix synapse server.

Requirements

The following should be present on the target system

  • pip
  • systemd
  • rsyslogd
  • logrotate

Role Variables

Default vars

Name Value
matrix_synapse_tls_path "/opt/synapse/ssl/{{ matrix_synapse_domain }}.crt"
matrix_synapse_key_path "/opt/synapse/ssl/{{ matrix_synapse_domain }}.key"
matrix_synapse_dh_path "/opt/synapse/ssl/{{ matrix_synapse_domain }}.dh"
matrix_synapse_server_name "{{ matrix_synapse_domain }}"
matrix_synapse_baseurl "https://{{ matrix_synapse_domain }}"
matrix_synapse_port_prefix 100
matrix_synapse_pg_pass "{{ matrix_pg_pass }}"
matrix_synapse_pg_user "{{ matrix_pg_user }}"
matrix_synapse_pg_db "{{ matrix_pg_db }}"
matrix_synapse_pg_host "{{ matrix_pg_host }}"
matrix_synapse_log_config "/opt/synapse/{{ matrix_synapse_domain }}.log.config"
matrix_synapse_media_store_path "/opt/synapse/media_store"
matrix_synapse_uploads_path "/opt/synapse/uploads"
matrix_synapse_turn_secret "{{ matrix_turn_secret }}"
matrix_synapse_turn_uri "{{ matrix_turn_uri }}"
matrix_synapse_registration_secret "{{ matrix_registration_secret }}"
matrix_synapse_macaroon_secret_key "{{ matrix_macaroon_key }}"
matrix_synapse_signing_key_path "/opt/synapse/ssl/{{ matrix_synapse_domain }}.signing.key"
matrix_synapse_version "v0.34.1.1"
matrix_synapse_log_days_keep 30
matrix_synapse_skip_ssl false

Dependencies

None.

Example Playbook

#TODO: Add example

License

Apache 2.0

Author Information

  • Michael Kaye
  • Jan Christian Grünhage
  • Emmanouil Kampitakis