1
0
Fork 0
mirror of https://github.com/roles-ansible/role-grafana-kiosk.git synced 2024-08-16 10:09:49 +02:00

Merge pull request #1 from DO1JLR/test

improve gh action
This commit is contained in:
L3D 2020-07-03 13:07:20 +02:00 committed by GitHub
commit 835d5cc8d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 3 deletions

View file

@ -14,3 +14,4 @@ jobs:
uses: roles-ansible/check-ansible-debian-buster-action@master
with:
targets: "./"
vars: "grafana_kiosk:\n manage_systemd: false"

View file

@ -1,6 +1,7 @@
MIT License
Copyright (c) 2020 L3D
Copyright (c) 2020 L3D <l3d@c3woc.de>
Copyright (c) 2020 L3D and and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View file

@ -22,7 +22,7 @@ grafana_kiosk:
playlist: false
URL: https://play.grafana.org
ignore_certificate_errors: false
enable_systemd: true
manage_systemd: true
display: DISPLAY=:0
lightdm_autologin: false

View file

@ -5,4 +5,5 @@
state: restarted
name: grafana-kiosk.service
daemon_reload: yes
enabled: "{{ grafana_kiosk.enable_systemd | bool }}"
enabled: true
when: grafana_kiosk.manage_systemd | bool

View file

@ -22,6 +22,7 @@
mode: 0664
owner: root
group: root
when: grafana_kiosk.manage_systemd | bool
notify: systemctl restart grafana-kiosk.service
- name: deploy env vars