[grafana] Re-enable Grafana, fix logo deployment
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
62a00a877e
commit
7ff3532bba
|
@ -1,7 +1,13 @@
|
|||
---
|
||||
glob_grafana:
|
||||
root_url: https://grafana.crans.org
|
||||
icon: crans_icon_white.svg
|
||||
ldap_base: "{{ glob_ldap.base }}"
|
||||
ldap_master_ipv4: "{{ glob_ldap.servers[0] }}"
|
||||
ldap_user_tree: "ou=passwd,{{ glob_ldap.base }}"
|
||||
|
||||
logos:
|
||||
- which: crans_logo_white_small.svg
|
||||
where: /usr/share/grafana/public/img/grafana_icon.svg
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
- prometheus-snmp-exporter
|
||||
- ninjabot
|
||||
|
||||
# # Deploy Grafana on monitoring server
|
||||
# - hosts: grafana
|
||||
# vars:
|
||||
# grafana: "{{ glob_grafana | default({}) | combine(loc_grafana | default({})) }}"
|
||||
# roles:
|
||||
# - grafana
|
||||
# Deploy Grafana on monitoring server
|
||||
- hosts: grafana
|
||||
vars:
|
||||
grafana: "{{ glob_grafana | default({}) | combine(loc_grafana | default({})) }}"
|
||||
roles:
|
||||
- grafana
|
||||
|
||||
- hosts: blackbox
|
||||
roles:
|
||||
|
|
|
@ -78,14 +78,6 @@
|
|||
mode: 0640
|
||||
notify: Restart grafana
|
||||
|
||||
- name: Change grafana logo
|
||||
copy:
|
||||
src: "{{ grafana.icon }}"
|
||||
dest: /usr/share/grafana/public/img/grafana_icon.svg
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0664
|
||||
|
||||
- name: Enable and start Grafana
|
||||
systemd:
|
||||
name: grafana-server
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 8.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 9.2 KiB |
Loading…
Reference in New Issue