1
0
Fork 0
mirror of https://github.com/roles-ansible/role-grafana-kiosk.git synced 2024-08-16 10:09:49 +02:00
Ansible role to deploy the grafana-kiosk
Find a file
2020-07-03 15:59:48 +02:00
.github Add travis and more icons 2020-07-03 15:59:48 +02:00
defaults testing deployment 2020-07-03 12:46:08 +02:00
handlers testing deployment 2020-07-03 12:46:08 +02:00
meta Add meta infos 2020-07-03 15:59:46 +02:00
tasks remove empty line 2020-07-03 15:59:48 +02:00
templates move repo to roles-ansible 2020-07-03 15:59:48 +02:00
vars update missing var 2020-07-03 13:20:16 +02:00
.travis.yml move repo to roles-ansible 2020-07-03 15:59:48 +02:00
LICENSE Update Copyright Info in LICENSE 2020-07-03 10:22:11 +02:00
README.md update DOCS 2020-07-03 15:59:48 +02:00

Ansible Galaxy Build Status MIT License Ansible Lint check Ansible check debian:buster

ansible role grafana-kiosk

Ansible role to deploy the grafana-kiosk from github.com/grafana/grafana-kiosk.

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