项目作者: roles-ansible

项目描述 :
Ansible role to deploy the grafana-kiosk
高级语言: Shell
项目地址: git://github.com/roles-ansible/role-grafana-kiosk.git
创建时间: 2020-06-30T11:43:10Z
项目社区:https://github.com/roles-ansible/role-grafana-kiosk

开源协议:MIT License

下载


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):

    1. grafana_kiosk:
    2. user: "{{ ansible_user }}"
  • The grafana-kiosk RELEASE we using:

    1. grafana_kiosk:
    2. git_release: 'v1.0.2'
  • The URL where the grafana-kiosk repo is located:

    1. grafana_kiosk:
    2. git_url: 'https://github.com/grafana/grafana-kiosk'
  • Should we install the required packages (like chromium):

    1. grafana_kiosk:
    2. install_requirements: true
  • The required packages we install:

    1. grafana_kiosk:
    2. required_packages:
    3. - chromium
    4. - unclutter
  • Install r update the packages? (use latest to upgrade packages)

    1. grafana_kiosk:
    2. install_state: 'present'
  • What architecture are you running on? (Used for downloading the binary):

    1. grafana_kiosk:
    2. architecture: 'autodetect'
  • Here you can set the config of grafana-kiosk:

    1. grafana_kiosk:
    2. general:
    3. kiosk_mode: full
    4. autofit: true
    5. lxde: true
    6. lxde_home: "/home/{{ ansible_user }}"
    7. target:
    8. login_method: anon
    9. username: user
    10. password: changeme
    11. playlist: false
    12. URL: https://play.grafana.org
    13. ignore_certificate_errors: false
  • Should we create and enable a systemd job?

    1. grafana_kiosk:
    2. manage_systemd: true
  • We need to set the correct DISPLAY varriable!

    1. grafana_kiosk:
    2. display: DISPLAY=:0
  • should we enable autologin for lightdm? (If you are using a raspberry pi, please do this via raspi-config!)

    1. grafana_kiosk:
    2. lightdm_autologin: false
  • perform basic versionscheck? (recomended to set to true)

    1. submodules_versioncheck: false