xoxys.homeassistant_docker/defaults/main.yml
Robert Kaussow 476137dcc0
Some checks failed
continuous-integration/drone/push Build is failing
use bool var to control cmdline patching
2019-05-04 17:58:03 +02:00

58 lines
2.1 KiB
YAML

---
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
# 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"
# 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"
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 }}"