diff --git a/handlers/main.yml b/handlers/main.yml index 2a70b6e..2227cec 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,6 +1,6 @@ --- - name: Restart service - systemd: + service: name: matrix state: restarted daemon_reload: yes diff --git a/tasks/post_tasks.yml b/tasks/post_tasks.yml index 9e9c6aa..e3c3163 100644 --- a/tasks/post_tasks.yml +++ b/tasks/post_tasks.yml @@ -1,6 +1,6 @@ --- - name: Ensure matrix service is up and running - systemd: + service: state: started daemon_reload: yes enabled: yes