🔨 Move influxdb org to variable

We will need that for deploying telegraf docker metrics container soon.
This commit is contained in:
Alexander Dahl 2022-12-12 21:22:03 +01:00
parent 755f655551
commit 4b74ca0d0f
2 changed files with 4 additions and 1 deletions

View file

@ -57,3 +57,6 @@ users:
# Data for DD24 dyndns updates # Data for DD24 dyndns updates
dyndns_domain: "dyndns.n39.eu" dyndns_domain: "dyndns.n39.eu"
dyndns_password: "{{ vault_dyndns_password }}" dyndns_password: "{{ vault_dyndns_password }}"
# Shared influxdb items
influxdb_org: "Netz39"

View file

@ -324,7 +324,7 @@
TZ: "{{ timezone }}" TZ: "{{ timezone }}"
DOCKER_INFLUXDB_INIT_USERNAME: "{{ influxdb_init_username }}" DOCKER_INFLUXDB_INIT_USERNAME: "{{ influxdb_init_username }}"
DOCKER_INFLUXDB_INIT_PASSWORD: "{{ influxdb_init_password }}" DOCKER_INFLUXDB_INIT_PASSWORD: "{{ influxdb_init_password }}"
DOCKER_INFLUXDB_INIT_ORG: Netz39 DOCKER_INFLUXDB_INIT_ORG: "{{ influxdb_org }}"
DOCKER_INFLUXDB_INIT_BUCKET: default DOCKER_INFLUXDB_INIT_BUCKET: default
volumes: volumes:
- "{{ data_dir }}/influxdb/data:/var/lib/influxdb2" - "{{ data_dir }}/influxdb/data:/var/lib/influxdb2"