ansible/playbooks/tasks/app/homeassistant.yml

13 lines
376 B
YAML

# 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 ]