xoxys.unifi/handlers/main.yml

19 lines
323 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
delegate_to: "{{ unifi_nginx_server }}"
become: True
become_user: root