Update to 2022-06-23 11:00
This commit is contained in:
parent
30b7ce1817
commit
0cba207c6d
|
@ -87,3 +87,6 @@ grafana_auth: "{{ grafana_auth_base | combine(grafana_auth_extra, recursive=True
|
||||||
# Plugins to install
|
# Plugins to install
|
||||||
grafana_plugins:
|
grafana_plugins:
|
||||||
- alexanderzobnin-zabbix-app
|
- 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"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
[Service]
|
[Service]
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
RestartSec=20
|
RestartSec=20
|
||||||
|
MemoryLimit={{ grafana_mem_limit }}
|
||||||
dest: /etc/systemd/system/grafana-server.service.d/restart.conf
|
dest: /etc/systemd/system/grafana-server.service.d/restart.conf
|
||||||
register: grafana_unit
|
register: grafana_unit
|
||||||
tags: grafana
|
tags: grafana
|
||||||
|
|
Loading…
Reference in New Issue