From cdcef9dc39313b786032df71ab52b7ec16dcb382 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 21 May 2020 20:17:28 +0200 Subject: [PATCH] Update variables, add new ones --- templates/influxdb.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/influxdb.conf.j2 b/templates/influxdb.conf.j2 index 5489393..39c0377 100644 --- a/templates/influxdb.conf.j2 +++ b/templates/influxdb.conf.j2 @@ -20,7 +20,7 @@ reporting-disabled = false [meta] # Where the metadata/raft database is stored - dir = "/var/lib/influxdb/meta" + dir = "{{ influxdb.storage }}/meta" retention-autocreate = true @@ -44,9 +44,9 @@ reporting-disabled = false # Controls if this node holds time series data shards in the cluster enabled = true - dir = "/var/lib/influxdb/data" + dir = "{{ influxdb.storage }}/data" # These are the WAL settings for the storage engine >= 0.9.3 - wal-dir = "/var/lib/influxdb/wal" + wal-dir = "{{ influxdb.storage }}/wal" index-version = "tsi1" # Trace logging provides more verbose output around the tsm engine. Turning @@ -162,7 +162,7 @@ reporting-disabled = false [http] enabled = true - bind-address = "{{ ansible_ens10.ipv4.address }}:{{ services.influxdb.port }}" + bind-address = "{{ ansible_ens10.ipv4.address }}:{{ influxdb.port }}" auth-enabled = false log-enabled = true write-tracing = false