19 lines
493 B
YAML
19 lines
493 B
YAML
---
|
|
|
|
- name: restart hass-deconz container but the container does something fucky
|
|
docker_container:
|
|
name: hass-deconz
|
|
state: started
|
|
entrypoint: /usr/local/bin/start.sh
|
|
restart: true
|
|
when:
|
|
- not hass_deconz_container.changed
|
|
- hass_container_state|default("stopped") == "started"
|
|
|
|
- name: restart hass-deconz container
|
|
command: docker restart hass-deconz
|
|
when:
|
|
- not hass_deconz_container.changed
|
|
- hass_container_state|default("stopped") == "started"
|
|
|