xoxys.homeassistant_docker/defaults/main.yml
Robert Kaussow ed046b9566
All checks were successful
continuous-integration/drone/push Build is passing
add systemd after list
2019-10-13 23:15:36 +02:00

51 lines
1.7 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_systemd_after:
- network-online.target
homeassistant_base_dir: /opt/homeassistant
homeassistant_conf_dir: "{{ homeassistant_base_dir }}/config"
homeassistant_packages: []
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"