2019-04-27 11:52:50 +00:00
|
|
|
---
|
|
|
|
- name: Restart homeassistant service
|
|
|
|
systemd:
|
|
|
|
state: restarted
|
|
|
|
daemon_reload: yes
|
|
|
|
name: homeassistant
|
|
|
|
listen: __homeassistant_restart
|
|
|
|
become: True
|
|
|
|
become_user: root
|
2019-04-27 12:30:38 +00:00
|
|
|
|
|
|
|
- name: Reload nginx
|
|
|
|
systemd:
|
|
|
|
state: reloaded
|
|
|
|
name: nginx
|
|
|
|
listen: __nginx_reload
|
|
|
|
delegate_to: "{{ homeassistant_nginx_server }}"
|
|
|
|
become: True
|
|
|
|
become_user: root
|