[SKIP CI] update readme

This commit is contained in:
Drone Shipper 2019-10-17 06:54:09 +00:00
parent 90a5dd1a89
commit 5c7d2b9dfa

259
README.md
View File

@ -1,2 +1,259 @@
# homeassistant
# xoxys.homeassistant
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.homeassistant/status.svg)](https://drone.rknet.org/ansible/xoxys.homeassistant)
Role to setup homeassistant with Python venv
## Table of content
* [Default Variables](#default-variables)
* [homeassistant_version](#homeassistant_version)
* [homeassistant_user](#homeassistant_user)
* [homeassistant_user_home](#homeassistant_user_home)
* [homeassistant_group](#homeassistant_group)
* [homeassistant_extra_groups](#homeassistant_extra_groups)
* [homeassistant_systemd_after](#homeassistant_systemd_after)
* [homeassistant_base_dir](#homeassistant_base_dir)
* [homeassistant_conf_dir](#homeassistant_conf_dir)
* [homeassistant_packages](#homeassistant_packages)
* [homeassistant_http_bind_port](#homeassistant_http_bind_port)
* [homeassistant_client_url](#homeassistant_client_url)
* [homeassistant_tls_enabled](#homeassistant_tls_enabled)
* [homeassistant_tls_dhparam_path](#homeassistant_tls_dhparam_path)
* [homeassistant_tls_dhparam_size](#homeassistant_tls_dhparam_size)
* [homeassistant_tls_cert_path](#homeassistant_tls_cert_path)
* [homeassistant_tls_key_path](#homeassistant_tls_key_path)
* [homeassistant_tls_cert_source](#homeassistant_tls_cert_source)
* [homeassistant_tls_key_source](#homeassistant_tls_key_source)
* [homeassistant_iptables_enabled](#homeassistant_iptables_enabled)
* [homeassistant_open_ports](#homeassistant_open_ports)
* [homeassistant_cmdline_override_enabled](#homeassistant_cmdline_override_enabled)
* [homeassistant_cmdline_content](#homeassistant_cmdline_content)
* [homeassistant_exclude_modemmanager](#homeassistant_exclude_modemmanager)
* [homeassistant_serial_device](#homeassistant_serial_device)
* [Dependencies](#dependencies)
* [License](#license)
* [Author](#author)
---
## Default Variables
### homeassistant_version
#### Default value
```YAML
homeassistant_version: 0.92.1
```
### homeassistant_user
#### Default value
```YAML
homeassistant_user: homeassistant
```
### homeassistant_user_home
#### Default value
```YAML
homeassistant_user_home: /home/{{ homeassistant_user }}
```
### homeassistant_group
#### Default value
```YAML
homeassistant_group: '{{ homeassistant_user }}'
```
### homeassistant_extra_groups
#### Default value
```YAML
homeassistant_extra_groups:
- tty
- dialout
```
### homeassistant_systemd_after
#### Default value
```YAML
homeassistant_systemd_after:
- network-online.target
```
### homeassistant_base_dir
#### Default value
```YAML
homeassistant_base_dir: /opt/homeassistant
```
### homeassistant_conf_dir
#### Default value
```YAML
homeassistant_conf_dir: '{{ homeassistant_base_dir }}/config'
```
### homeassistant_packages
#### Default value
```YAML
homeassistant_packages: []
```
### homeassistant_http_bind_port
#### Default value
```YAML
homeassistant_http_bind_port: 8123
```
### homeassistant_client_url
#### Default value
```YAML
homeassistant_client_url: https://hassio.example.com
```
### homeassistant_tls_enabled
#### Default value
```YAML
homeassistant_tls_enabled: false
```
### homeassistant_tls_dhparam_path
#### Default value
```YAML
homeassistant_tls_dhparam_path: '{{ homeassistant_base_dir }}/tls/dhparam.pem'
```
### homeassistant_tls_dhparam_size
#### Default value
```YAML
homeassistant_tls_dhparam_size: 2048
```
### homeassistant_tls_cert_path
#### Default value
```YAML
homeassistant_tls_cert_path: '{{ homeassistant_base_dir }}/tls/certs/mycert.pem'
```
### homeassistant_tls_key_path
#### Default value
```YAML
homeassistant_tls_key_path: '{{ homeassistant_base_dir }}/tls/private/mykey.pem'
```
### homeassistant_tls_cert_source
#### Default value
```YAML
homeassistant_tls_cert_source: mycert.pem
```
### homeassistant_tls_key_source
#### Default value
```YAML
homeassistant_tls_key_source: mykey.pem
```
### homeassistant_iptables_enabled
#### Default value
```YAML
homeassistant_iptables_enabled: false
```
### homeassistant_open_ports
#### Default value
```YAML
homeassistant_open_ports:
- name: allow_homeassistant_web
rules: "-A INPUT -m state --state NEW -p tcp --dport {{ homeassistant_http_bind_port\
\ }} -j ACCEPT\n"
state: present
```
### homeassistant_cmdline_override_enabled
Override `/boot/cmdline.txt` with given conten. This can be necessary if you use searial hardware, but be careful! Wrong configuration may leave your system unusable!
#### Default value
```YAML
homeassistant_cmdline_override_enabled: false
```
### homeassistant_cmdline_content
#### Default value
```YAML
homeassistant_cmdline_content: console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline
rootwait
```
### homeassistant_exclude_modemmanager
Prevent ModemManger from binding to serial devices and therefor blocking controllers like a `CC2531`. Devices can be skipped by a udev rule.
#### Default value
```YAML
homeassistant_exclude_modemmanager: false
```
### homeassistant_serial_device
#### Default value
```YAML
homeassistant_serial_device:
- vendor_id: '0000'
product_id: xxxx
```
## Dependencies
None.
## License
MIT
## Author
xoxys