Add ability to update HA-related containers
Home Assistant, Zigbee2MQTT, and ZWaveJS2MQTT can now be updated by setting the corresponding Ansible variable.
This commit is contained in:
@@ -62,6 +62,7 @@
|
||||
name: ghcr.io/home-assistant/{{ homeassistant_image_name }}
|
||||
tag: stable
|
||||
state: present
|
||||
force: '{{ homeassistant_update|d|bool }}'
|
||||
notify:
|
||||
- restart homeassistant
|
||||
tags:
|
||||
|
||||
@@ -7,6 +7,7 @@ Type=notify
|
||||
NotifyAccess=all
|
||||
ExecStartPre=-/usr/bin/podman container rm --ignore -f homeassistant
|
||||
ExecStart=/usr/bin/podman run \
|
||||
--pull never \
|
||||
--sdnotify=conmon --cgroups=no-conmon \
|
||||
--rm \
|
||||
--network=host \
|
||||
|
||||
Reference in New Issue
Block a user