xoxys.unifi/handlers/main.yml

19 lines
323 B
YAML
Raw Normal View History

2018-07-08 21:02:55 +00:00
---
- name: Restart unifi service
systemd:
state: restarted
daemon_reload: yes
name: unifi
listen: __unifi_restart
2018-07-08 23:01:39 +00:00
become: True
2018-08-13 20:06:00 +00:00
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen:
- __nginx_reload
2018-08-14 22:07:21 +00:00
delegate_to: "{{ unifi_nginx_server }}"
2018-08-13 20:06:00 +00:00
become: True
become_user: root