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