add stop and start for synapse

This commit is contained in:
core 2023-06-21 18:31:22 -04:00
parent fb454c45fb
commit bb93d5fa1f
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 18 additions and 0 deletions

9
start_synapse.yml Normal file
View File

@ -0,0 +1,9 @@
---
- name: Start synapse
hosts: synapse
tasks:
- name: Start the synapse server
ansible.builtin.shell:
cmd: env/bin/synctl start
chdir: $HOME/matrix

9
stop_synapse.yml Normal file
View File

@ -0,0 +1,9 @@
---
- name: Stop synapse
hosts: synapse
tasks:
- name: Stop the synapse server
ansible.builtin.shell:
cmd: env/bin/synctl stop
chdir: $HOME/matrix