diff --git a/roles/services/synapse/handlers/main.yml b/roles/services/synapse/handlers/main.yml index 02632db..af9ed56 100644 --- a/roles/services/synapse/handlers/main.yml +++ b/roles/services/synapse/handlers/main.yml @@ -1,3 +1,8 @@ +- name: Run daemon-reload for synapse + systemd: + daemon_reload: yes + name: synapse + - name: Restart synapse service: name: synapse diff --git a/roles/services/synapse/tasks/main.yml b/roles/services/synapse/tasks/main.yml index c90a7b3..49a6084 100644 --- a/roles/services/synapse/tasks/main.yml +++ b/roles/services/synapse/tasks/main.yml @@ -29,7 +29,9 @@ regexp: "^ReadWritePaths.*" line: "ReadWritePaths={{ dataroot }}/synapse/" state: present - notify: Restart synapse + notify: + - Run daemon-reload for synapse + - Restart synapse - name: Find owner of data folder stat: