blob: d893834ddeea1eb26449edb3e6357507af369002 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
- name: configure matrix servers
hosts: matrix_servers
roles:
- role: common
tags: common
- role: synapse
tags: synapse
- role: apache_vhost
apache_server_name: '{{ synapse_server_name }}'
apache_server_aliases: []
apache_ssl_only: yes
apache_letsencrypt: yes
apache_listen_port: '{{ synapse_federation_port }}'
apache_config: '{{ synapse_apache_federation_config }}'
apache_config_name: '{{ synapse_server_name }}-federation'
tags: apache
- role: apache_vhost
apache_server_name: '{{ synapse_server_name }}'
apache_server_aliases: []
apache_ssl_only: yes
apache_letsencrypt: yes
apache_listen_port: '{{ synapse_client_port }}'
apache_config: '{{ synapse_apache_client_config }}'
apache_config_name: '{{ synapse_server_name }}-client'
tags: apache
- role: apache_vhost
apache_server_name: '{{ synapse_server_name }}'
apache_server_aliases: []
apache_letsencrypt: yes
apache_redirect_to_https: yes
apache_document_root: '{{ synapse_element_webroot }}'
apache_config_name: '{{ synapse_server_name }}-element'
tags: apache
- role: archive_job
archive_name: synapse
archive_user: '{{ synapse_user }}'
archive_shell: '{{ synapse_archive_shell }}'
tags: archive
|