Add a daemon-reload handler for synapse

This commit is contained in:
dogeystamp 2022-03-12 15:11:42 -05:00
parent 6211ee5859
commit df2c5ec021
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
- name: Run daemon-reload for synapse
systemd:
daemon_reload: yes
name: synapse
- name: Restart synapse
service:
name: synapse

View File

@ -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: