l3d.grafana_kiosk
Ansible Role Grafana-Kiosk
This Ansible role helps you deploy the grafana-kiosk from grafana's GitHub repository.
Example Playbook
To be decided.
Variables
Here are some simple explanations of what the variables do. You can find a full list of variables in the defaults
folder.
- User to launch grafana-kiosk (e.g.
pi
):
grafana_kiosk:
user: "{{ ansible_user }}"
- The grafana-kiosk version we are using:
grafana_kiosk:
git_release: 'v1.0.2'
- The URL of the grafana-kiosk repository:
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 that we will install:
grafana_kiosk:
required_packages:
- chromium
- unclutter
- Install or update the packages? (Use
latest
to upgrade packages):
grafana_kiosk:
install_state: 'present'
- What architecture are you using? (Necessary for downloading the right binary):
grafana_kiosk:
architecture: 'autodetect'
- Configure grafana-kiosk settings:
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
- Set the correct DISPLAY variable:
grafana_kiosk:
display: DISPLAY=:0
- Should we enable autologin for lightdm? (If you're using a Raspberry Pi, please set this with
raspi-config
):
grafana_kiosk:
lightdm_autologin: false
- Do a basic version check? (It’s recommended to set this to true):
submodules_versioncheck: false
Informazioni sul progetto
Ansible role to deploy and configure the grafana-kiosk from grafana.
Installa
ansible-galaxy install l3d.grafana_kiosk
Licenza
mit
Download
36.7k
Proprietario
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy