configure synapse

This commit is contained in:
histausse 2021-07-28 02:29:19 +02:00
parent 35ed78089f
commit 45906e095d
Signed by: histausse
GPG key ID: 67486F107F62E9E9
2 changed files with 12 additions and 2 deletions

View file

@ -3,3 +3,8 @@
systemd:
name: nginx
state: reloaded
- name: Reload synapse
systemd:
name: matrix-synapse
state: reloaded

View file

@ -54,6 +54,11 @@
retries: 3
until: apt_result is succeeded
- name: Configure synapse
template:
src: homeserver.yaml
dest: /etc/matrix-synapse/homeserver.yaml
notify: Reload synapse
# --- DRAFT ---
- name: Install nginx
@ -73,8 +78,8 @@
- name: Copy reverse proxy sites
template:
src: "nginx/config_synapse"
dest: "/etc/nginx/sites-available/synapse"
src: nginx/config_synapse
dest: /etc/nginx/sites-available/synapse
notify: Reload nginx
- name: Activate sites