Skip to content
Snippets Groups Projects
Commit 9bc4b3f3 authored by jurgenhaas's avatar jurgenhaas
Browse files

Install alerta client inside container when updating

parent 22ce0c4b
Branches
Tags
No related merge requests found
......@@ -14,3 +14,23 @@
- /var/lib/hass:/config
- /etc/localtime:/etc/localtime:ro
- /root/.ssh:/root/.ssh
notify:
- Install Alerta inside Container
- Re-start the hass container
- name: Install Alerta inside Container
command: docker exec home-assistant pip install alerta
- name: Re-start the hass container
docker_container:
name: home-assistant
image: homeassistant/home-assistant
init: yes
state: started
restart: yes
network_mode: host
restart_policy: always
volumes:
- /var/lib/hass:/config
- /etc/localtime:/etc/localtime:ro
- /root/.ssh:/root/.ssh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment