diff --git a/host_vars/stats.regensburg.freifunk.net b/host_vars/stats.regensburg.freifunk.net index 5132d99..7a748a0 100644 --- a/host_vars/stats.regensburg.freifunk.net +++ b/host_vars/stats.regensburg.freifunk.net @@ -1,5 +1,7 @@ --- +grafana_rendering: True + # yanic needs this site_code: ffrgb_cty diff --git a/roles/grafana/defaults/main.yml b/roles/grafana/defaults/main.yml new file mode 100644 index 0000000..bb8d9ee --- /dev/null +++ b/roles/grafana/defaults/main.yml @@ -0,0 +1,3 @@ +--- + +grafana_rendering: False diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml index 1c7ca03..77d39fc 100644 --- a/roles/grafana/tasks/main.yml +++ b/roles/grafana/tasks/main.yml @@ -8,3 +8,27 @@ - name: Install grafana apt: name=grafana + +- nane: Install grafana rendering dependencies: + apt: + name: + - libxdamage1 + - libxext6 + - libxi6 + - libxtst6 + - libnss3 + - libnss3 + - libcups2 + - libxss1 + - libxrandr2 + - libasound2 + - libatk1.0-0 + - libatk-bridge2.0-0 + - libpangocairo-1.0-0 + - libpango-1.0-0 + - libcairo2 + - libatspi2.0-0 + - libgtk3.0-cil + - libgdk3.0-cil + - libx11-xcb-dev + when: grafana_rendering