infrastructure/roles/synapse/handlers/main.yml
Saibotk f127cd41fb
refactor!(matrix): migrate to podman quadlet & rename
Merged delegate and synapse together.

THIS IS BREAKING!
2025-01-19 22:09:06 +01:00

24 lines
669 B
YAML

- name: Apply new SELinux file context to filesystem.
ansible.builtin.command: "restorecon -irF {{ synapse_install_dir }}"
become: true
listen: "synapse selinux context changed"
- name: Restart synapse service.
ansible.builtin.systemd:
state: restarted
name: synapse.service
daemon_reload: true
become: true
listen:
- "synapse service changed"
- "synapse selinux context changed"
- name: Restart synapse-postgres service.
ansible.builtin.systemd:
state: restarted
name: synapse-postgres.service
daemon_reload: true
become: true
listen:
- "synapse postgres service changed"
- "synapse selinux context changed"