From 06c3fc56abe9b57728e1521489cdba2cbc0758de Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 8 Aug 2023 12:52:47 +0200 Subject: [PATCH] parameterize elasticsearch port --- ansible/roles/monitoring/elasticsearch.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/monitoring/elasticsearch.yml.j2 b/ansible/roles/monitoring/elasticsearch.yml.j2 index ce36414..508bbc0 100644 --- a/ansible/roles/monitoring/elasticsearch.yml.j2 +++ b/ansible/roles/monitoring/elasticsearch.yml.j2 @@ -5,7 +5,7 @@ datasources: - name: cpu type: elasticsearch access: proxy - url: http://maestro.dmz:14653 + url: http://maestro.dmz:{{ elasticsearch_port }} jsonData: index: 'fluentd.cpu' timeField: '@timestamp' @@ -13,7 +13,7 @@ datasources: - name: memory type: elasticsearch access: proxy - url: http://maestro.dmz:14653 + url: http://maestro.dmz:{{ elasticsearch_port }} jsonData: index: 'fluentd.memory' timeField: '@timestamp'