grafana_kiosk

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
About

Ansible role to deploy and configure the grafana-kiosk from grafana.

Install
ansible-galaxy install roles-ansible/role-grafana-kiosk
GitHub repository
License
mit
Downloads
36658
Owner
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy