mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-30 18:31:28 +01:00 
			
		
		
		
	Update to 2022-06-23 11:00
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud