e3team_ansible/synapse/restart_synapse.yml

10 lines
187 B
YAML

---
- name: Restart synapse
hosts: synapse
tasks:
- name: Restart the synapse server
ansible.builtin.shell:
cmd: env/bin/synctl restart
chdir: $HOME/matrix