influxdb: Fix listen addr and data directory path

This commit is contained in:
Timo Makinen 2022-10-29 16:31:15 +00:00
parent b128852405
commit 6bc466e191
3 changed files with 6 additions and 9 deletions

View file

@ -0,0 +1,3 @@
bolt-path = "/srv/influxdb/influxd.bolt"
engine-path = "/srv/influxdb/engine"
http-bind-address = "127.0.0.1:8086"

View file

@ -1,6 +0,0 @@
INFLUXDB_META_DIR="/srv/influxdb/meta"
INFLUXDB_DATA_DIR="/srv/influxdb/data"
INFLUXDB_DATA_WAL_DIR="/srv/influxdb/wal"
INFLUXDB_HTTP_BIND_ADDRESS="127.0.0.1:8086"
INFLUXDB_HTTP_AUTH_ENABLED=true

View file

@ -42,10 +42,10 @@
group: "{{ ansible_wheel }}"
follow: false
- name: create config
- name: create config.toml
ansible.builtin.copy:
dest: /etc/default/influxdb
src: influxdb.sysconfig
dest: /etc/influxdb/config.toml
src: config.toml
mode: 0644
owner: root
group: "{{ ansible_wheel }}"