diff --git a/handlers/main.yml b/handlers/main.yml index 7239d52..a9d4d19 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,7 +1,9 @@ --- - name: start_express_service + become: true + become_user: root systemd: name: "{{ express_service_name }}" - state: started + state: restarted daemon_reload: true enabled: true \ No newline at end of file