mirror of
https://github.com/roles-ansible/role-grafana-kiosk.git
synced 2024-08-16 10:09:49 +02:00
try to get it started
This commit is contained in:
parent
4497bd3b4d
commit
179c8e073a
4 changed files with 8 additions and 3 deletions
|
@ -23,6 +23,7 @@ grafana_kiosk:
|
|||
URL: https://play.grafana.org
|
||||
ignore_certificate_errors: false
|
||||
enable_systemd: true
|
||||
display: DISPLAY=:0
|
||||
|
||||
|
||||
# perform basic versionscheck?
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
state: restarted
|
||||
name: grafana-kiosk.service
|
||||
daemon_reload: yes
|
||||
enabled: grafana_kiosk.enable_systemd | bool
|
||||
enabled: "{{ grafana_kiosk.enable_systemd | bool }}"
|
||||
|
|
|
@ -7,7 +7,10 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
User={{ grafana_kiosk.user }}
|
||||
Environment="DISPLAY=:0"
|
||||
Environment="{{ grafana_kiosk.display }}"
|
||||
{% if not grafana_kiosk.general.autofit | bool -%}
|
||||
Enviroment="KIOSK_AUTOFIT={{ grafana_kiosk.general.autofit | ternary("true", "false") }}"
|
||||
{%- endif %}
|
||||
Environment="XAUTHORITY=/home/{{ grafana_kiosk.user }}/.Xauthority"
|
||||
ExecStart=/usr/bin/grafana-kiosk -c /etc/grafana-kiosk/config.yml
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ _grafana_kiosk:
|
|||
URL: https://play.grafana.org
|
||||
ignore_certificate_errors: false
|
||||
enable_systemd: true
|
||||
display: DISPLAY=:0
|
||||
|
||||
_dl_matrix:
|
||||
'x86_64': "grafana-kiosk.linux.amd64"
|
||||
|
@ -30,5 +31,5 @@ _dl_matrix:
|
|||
'armv6l': "grafana-kiosk.linux.armv6"
|
||||
'armv5l': "grafana-kiosk.linux.armv5"
|
||||
|
||||
playbook_version_number: 10 # should be an integer
|
||||
playbook_version_number: 11 # should be an integer
|
||||
playbook_version_path: 'role-grafana-kiosk_roles-ansible_github.com.version' # unique string
|
||||
|
|
Loading…
Reference in a new issue