blob: 8ddbc478b11864d60e333bed69785a09d23b00d1 (
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
|
- 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
|