diff --git a/roles/matrix-server/tasks/setup_corporal.yml b/roles/matrix-server/tasks/setup_corporal.yml index d9446efb7..f2729a1ee 100644 --- a/roles/matrix-server/tasks/setup_corporal.yml +++ b/roles/matrix-server/tasks/setup_corporal.yml @@ -63,6 +63,6 @@ - name: Ensure matrix-corporal.service doesn't exist file: - path: "{{ role_path }}/templates/systemd/matrix-corporal.service.j2" + path: "/etc/systemd/system/matrix-corporal.service" state: absent when: "not matrix_corporal_enabled"