ansible/playbooks/tasks/app/homeassistant.yml

13 lines
376 B
YAML
Raw Normal View History

2021-09-27 17:18:30 -05:00
# vim:ft=ansible:
- name: docker deploy homeassistant
docker_container:
name: homeassistant
image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable"
privileged: yes
network_mode: host
volumes:
- /dev/ttyACM0:/dev/ttyACM0
- /etc/localtime:/etc/localtime:ro
- /data/homeassistant/config:/config
tags: [ docker, homeassistant ]