Update to 2022-06-23 11:00

This commit is contained in:
Daniel Berteaud 2022-06-23 11:00:14 +02:00
parent 30b7ce1817
commit 0cba207c6d
2 changed files with 4 additions and 0 deletions

View File

@ -87,3 +87,6 @@ grafana_auth: "{{ grafana_auth_base | combine(grafana_auth_extra, recursive=True
# Plugins to install
grafana_plugins:
- alexanderzobnin-zabbix-app
# Limit the amount of RAM grafana can eat (default is 50% of the total RAM)
grafana_mem_limit: "{{ (ansible_memtotal_mb * 0.5) | int }}M"

View File

@ -14,6 +14,7 @@
[Service]
StartLimitInterval=0
RestartSec=20
MemoryLimit={{ grafana_mem_limit }}
dest: /etc/systemd/system/grafana-server.service.d/restart.conf
register: grafana_unit
tags: grafana