From bb93d5fa1fbc196b209611d4496833c369005d85 Mon Sep 17 00:00:00 2001 From: core Date: Wed, 21 Jun 2023 18:31:22 -0400 Subject: [PATCH] add stop and start for synapse --- start_synapse.yml | 9 +++++++++ stop_synapse.yml | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 start_synapse.yml create mode 100644 stop_synapse.yml diff --git a/start_synapse.yml b/start_synapse.yml new file mode 100644 index 0000000..cafc159 --- /dev/null +++ b/start_synapse.yml @@ -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 diff --git a/stop_synapse.yml b/stop_synapse.yml new file mode 100644 index 0000000..2b69504 --- /dev/null +++ b/stop_synapse.yml @@ -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