From 95754393b18f5bdd986f5ee40e006524cd03a99e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 2 Jul 2024 20:05:56 +0200 Subject: grafana: localhost vs 127.0.0.1 --- roles/monitoring/grafana/filter_plugins/grafana.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/monitoring/grafana/filter_plugins/grafana.py b/roles/monitoring/grafana/filter_plugins/grafana.py index 9fb78734..b380c7ea 100644 --- a/roles/monitoring/grafana/filter_plugins/grafana.py +++ b/roles/monitoring/grafana/filter_plugins/grafana.py @@ -11,7 +11,7 @@ from ansible.module_utils.common.text import formatters def resolve_grafana_url(url, config): try: protocol = config.get('protocol', 'http') - addr = config.get('http_addr', 'localhost') + addr = config.get('http_addr', '127.0.0.1') port = config.get('http_port', '3000') serve_from_sub_path = config.get('serve_from_sub_path', False) -- cgit v1.2.3