diff --git a/playbooks/roles/matrix-eavesdrop/handlers/main.yaml b/playbooks/roles/matrix-eavesdrop/handlers/main.yaml new file mode 100644 index 0000000000..30f5131a4b --- /dev/null +++ b/playbooks/roles/matrix-eavesdrop/handlers/main.yaml @@ -0,0 +1,4 @@ +- name: Restart matrix-eavesdrop + shell: + cmd: docker-compose restart eavesdrop + chdir: /etc/matrix-eavesdrop-docker/ diff --git a/playbooks/roles/matrix-eavesdrop/tasks/main.yaml b/playbooks/roles/matrix-eavesdrop/tasks/main.yaml index 6e00fea949..6f2ddd52bd 100644 --- a/playbooks/roles/matrix-eavesdrop/tasks/main.yaml +++ b/playbooks/roles/matrix-eavesdrop/tasks/main.yaml @@ -14,6 +14,7 @@ owner: root group: root mode: 0644 + notify: Restart matrix-eavesdrop - name: Ensure /etc/matrix-eavesdrop-docker directory file: