configure synapse
This commit is contained in:
parent
35ed78089f
commit
45906e095d
2 changed files with 12 additions and 2 deletions
|
@ -3,3 +3,8 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: nginx
|
name: nginx
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
|
- name: Reload synapse
|
||||||
|
systemd:
|
||||||
|
name: matrix-synapse
|
||||||
|
state: reloaded
|
||||||
|
|
|
@ -54,6 +54,11 @@
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
|
- name: Configure synapse
|
||||||
|
template:
|
||||||
|
src: homeserver.yaml
|
||||||
|
dest: /etc/matrix-synapse/homeserver.yaml
|
||||||
|
notify: Reload synapse
|
||||||
|
|
||||||
# --- DRAFT ---
|
# --- DRAFT ---
|
||||||
- name: Install nginx
|
- name: Install nginx
|
||||||
|
@ -73,8 +78,8 @@
|
||||||
|
|
||||||
- name: Copy reverse proxy sites
|
- name: Copy reverse proxy sites
|
||||||
template:
|
template:
|
||||||
src: "nginx/config_synapse"
|
src: nginx/config_synapse
|
||||||
dest: "/etc/nginx/sites-available/synapse"
|
dest: /etc/nginx/sites-available/synapse
|
||||||
notify: Reload nginx
|
notify: Reload nginx
|
||||||
|
|
||||||
- name: Activate sites
|
- name: Activate sites
|
||||||
|
|
Loading…
Reference in a new issue