diff --git a/handlers/main.yml b/handlers/main.yml index 6fcff30..ef30b50 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -6,13 +6,13 @@ name: unifi listen: __unifi_restart become: True + become_user: root - name: Reload nginx systemd: state: reloaded name: nginx - listen: - - __nginx_reload + listen: __nginx_reload delegate_to: "{{ radicale_nginx_server }}" become: True become_user: root