2018-07-19 16:29:44 +02:00
|
|
|
---
|
|
|
|
|
2023-02-10 11:17:50 +01:00
|
|
|
- name: Retrieve Grafana Key and avoid apt_key
|
|
|
|
block:
|
|
|
|
- name: grafana |no apt key
|
|
|
|
ansible.builtin.get_url:
|
|
|
|
url: https://apt.grafana.com/gpg.key
|
|
|
|
dest: /usr/share/keyrings/grafana.key
|
2018-07-19 16:29:44 +02:00
|
|
|
|
|
|
|
- name: Enable grafana repository
|
2023-02-10 11:17:50 +01:00
|
|
|
apt_repository: repo="deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main"
|
2018-07-19 16:29:44 +02:00
|
|
|
|
|
|
|
- name: Install grafana
|
|
|
|
apt: name=grafana
|
2020-11-24 20:36:35 +01:00
|
|
|
|
2020-11-24 21:04:40 +01:00
|
|
|
- name: Install grafana rendering dependencies
|
2020-11-24 20:36:35 +01:00
|
|
|
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
|