add stop and start for synapse
This commit is contained in:
parent
fb454c45fb
commit
bb93d5fa1f
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue