xoxys.unifi/handlers/main.yml

18 lines
281 B
YAML

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