1
0
Fork 0
mirror of https://github.com/roles-ansible/role-grafana-kiosk.git synced 2024-08-16 10:09:49 +02:00

update DOCS

This commit is contained in:
L3D 2020-07-03 15:55:11 +02:00 committed by L3D
parent 866681dbc5
commit e94cd3faf6
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -8,3 +8,94 @@
============================= =============================
Ansible role to deploy the grafana-kiosk from [github.com/grafana/grafana-kiosk](https://github.com/grafana/grafana-kiosk.git). Ansible role to deploy the grafana-kiosk from [github.com/grafana/grafana-kiosk](https://github.com/grafana/grafana-kiosk.git).
example playbook
---------
tbd.
variables
-----------
Here you find some basic explainations what the variables do.
Remeber that you can find a complete list of variables in the ``defaults`` Folder.
+ User to launch grafana-kiosk *(e.g. ``pi``)*:
```
grafana_kiosk:
user: "{{ ansible_user }}"
```
+ The grafana-kiosk RELEASE we using:
```
grafana_kiosk:
git_release: 'v1.0.2'
```
+ The URL where the grafana-kiosk repo is located:
```
grafana_kiosk:
git_url: 'https://github.com/grafana/grafana-kiosk'
```
+ Should we install the required packages *(like chromium)*:
```
grafana_kiosk:
install_requirements: true
```
+ The required packages we install:
```
grafana_kiosk:
required_packages:
- chromium
- unclutter
```
+ Install r update the packages? *(use ``latest`` to upgrade packages)*
```
grafana_kiosk:
install_state: 'present'
```
+ What architecture are you running on? *(Used for downloading the binary)*:
```
grafana_kiosk:
architecture: 'autodetect'
```
+ Here you can set the config of grafana-kiosk:
```
grafana_kiosk:
general:
kiosk_mode: full
autofit: true
lxde: true
lxde_home: "/home/{{ ansible_user }}"
target:
login_method: anon
username: user
password: changeme
playlist: false
URL: https://play.grafana.org
ignore_certificate_errors: false
```
+ Should we create and enable a systemd job?
```
grafana_kiosk:
manage_systemd: true
```
+ We need to set the correct DISPLAY varriable!
```
grafana_kiosk:
display: DISPLAY=:0
```
+ should we enable autologin for lightdm? *(If you are using a raspberry pi, please do this via ``raspi-config``!)*
```
grafana_kiosk:
lightdm_autologin: false
```
+ perform basic versionscheck? *(recomended to set to true)*
```
submodules_versioncheck: false
```