xoxys.homeassistant_docker/defaults/main.yml

50 lines
1.9 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"
homeassistant_dependencies: []
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_content: "console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait"
2019-04-27 11:52:50 +00:00
homeassistant_nginx_vhost_enabled: False
homeassistant_nginx_server: localhost
homeassistant_nginx_vhost_dir: /etc/nginx/sites-available
homeassistant_nginx_vhost_symlink: /etc/nginx/sites-enabled
homeassistant_nginx_iptables_enabled: False
homeassistant_nginx_tls_enabled: False
homeassistant_nginx_tls_cert_file: homeassistant-cert.pem
homeassistant_nginx_tls_key_file: homeassistant-key.pem
homeassistant_nginx_proxy_url: "https://1.2.3.4:{{ homeassistant_http_bind_port }}"