infra/roles/hass-zwave/handlers/main.yml

12 lines
254 B
YAML

---
- name: restart zwavejs container
docker_container:
name: zwavejs
state: started
restart: true
when:
- zwavejs_container is not defined or not zwavejs_container.changed
- hass_container_state|default("stopped") == "started"