---
- name: Restart unifi service
service:
state: restarted
daemon_reload: yes
name: unifi
listen: __unifi_restart
become: True
become_user: root