add nginx handler
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Robert Kaussow 2019-04-27 14:30:38 +02:00
parent 64cfe62226
commit 3ecc20bc4c

View File

@ -7,3 +7,12 @@
listen: __homeassistant_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
delegate_to: "{{ homeassistant_nginx_server }}"
become: True
become_user: root