aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/matrix.yml
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-05-31 21:35:04 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-05-31 21:35:04 -0400
commit236d813994acd076ce96d764d569ee6bb3da98f9 (patch)
tree33f811ba7f557032601356218ff11d67a4895ffe /playbooks/matrix.yml
parent9cbb7d043e7379f9d7e7c81cd75fcd2176a0b322 (diff)
downloadselfhosted-236d813994acd076ce96d764d569ee6bb3da98f9.tar.gz
selfhosted-236d813994acd076ce96d764d569ee6bb3da98f9.zip
add synapse role
Diffstat (limited to 'playbooks/matrix.yml')
-rw-r--r--playbooks/matrix.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/playbooks/matrix.yml b/playbooks/matrix.yml
new file mode 100644
index 0000000..8ddbc47
--- /dev/null
+++ b/playbooks/matrix.yml
@@ -0,0 +1,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