24 lines
669 B
YAML
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"
|