---
- name: Restart unifi service
systemd:
state: restarted
daemon_reload: yes
name: unifi
listen: __unifi_restart
become: True
- name: Reload nginx
state: reloaded
name: nginx
listen:
- __nginx_reload
become_user: root