Files
home-assistant/deploy.yaml
2023-11-12 14:43:26 -08:00

19 lines
531 B
YAML

---
# Ansible Playbook to deploy Home Assistant Configuration
- name: Home Assistant | Update Configuration
hosts: hass
tasks:
- name: Home Assistant | Update Configuration
ansible.builtin.git:
repo: https://git.asymworks.com/jkrauss/home-assistant.git
dest: /srv/hass/config
notify: Home Assistant | Restart Home Assistant
handlers:
- name: Home Assistant | Restart Home Assistant
community.docker.docker_container:
name: hass
state: started
restart: true