xoxys.homeassistant_docker/defaults/main.yml

48 lines
1.6 KiB
YAML
Raw Normal View History

2019-04-27 11:52:50 +00:00
---
homeassistant_version: 0.92.1
homeassistant_user: homeassistant
homeassistant_user_home: "/home/{{ homeassistant_user }}"
# homeassistant_uid: # defaults to not set
homeassistant_group: "{{ homeassistant_user }}"
# homeassistant_gid: # defaults to not set
homeassistant_extra_groups:
- tty
- dialout
homeassistant_base_dir: /opt/homeassistant
homeassistant_conf_dir: "{{ homeassistant_base_dir }}/config"
2019-08-13 07:05:36 +00:00
homeassistant_packages: []
2019-04-27 11:52:50 +00:00
homeassistant_http_bind_port: 8123
homeassistant_client_url: https://hassio.example.com
homeassistant_tls_enabled: False
homeassistant_tls_dhparam_path: "{{ homeassistant_base_dir }}/tls/dhparam.pem"
homeassistant_tls_dhparam_size: 2048
homeassistant_tls_cert_path: "{{ homeassistant_base_dir }}/tls/certs/mycert.pem"
homeassistant_tls_key_path: "{{ homeassistant_base_dir }}/tls/private/mykey.pem"
homeassistant_tls_cert_source: mycert.pem
homeassistant_tls_key_source: mykey.pem
homeassistant_iptables_enabled: False
homeassistant_open_ports:
- name: allow_homeassistant_web
rules: |
-A INPUT -m state --state NEW -p tcp --dport {{ homeassistant_http_bind_port }} -j ACCEPT
state: present
2019-05-04 15:25:31 +00:00
# override /boot/cmdline.txt with new content
# this can be necessary if you use searial hardware
# be careful! wrong config can make your system unusable!
homeassistant_cmdline_override_enabled: False
homeassistant_cmdline_content: "console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait"
2019-05-04 15:25:31 +00:00
# to prevent ModemManger from binding serial devices like CC2531
# devices can be skipped by an udev rule
homeassistant_exclude_modemmanager: False
homeassistant_serial_device:
- vendor_id: "0000"
product_id: "xxxx"