e3team_ansible/restart_synapse.yml

10 lines
188 B
YAML

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