45 lines
833 B
YAML
45 lines
833 B
YAML
---
|
|
- name: Configure HA
|
|
hosts: home-assistant
|
|
|
|
vars_files:
|
|
|
|
pre_tasks:
|
|
- import_tasks: tasks/clean.yml
|
|
|
|
- name: Include secrets
|
|
include_vars:
|
|
file: vars/secrets.yaml
|
|
|
|
- name: Include ZHA vars
|
|
include_vars:
|
|
file: vars/zha-devices.yml
|
|
|
|
- name: Include Z-wave vars
|
|
include_vars:
|
|
file: vars/zwave-devices.yml
|
|
|
|
- name: Include battery vars
|
|
include_vars:
|
|
file: vars/battery.yml
|
|
|
|
- name: Include availability vars
|
|
include_vars:
|
|
file: vars/availability.yml
|
|
|
|
- name: Include shopping list
|
|
include_vars:
|
|
file: vars/shopping-list.yml
|
|
|
|
- name: Include light list for automations
|
|
include_vars:
|
|
file: vars/lights-automations.yml
|
|
|
|
roles:
|
|
- automations
|
|
- scripts
|
|
- config
|
|
- appdaemon
|
|
|
|
tasks:
|