diff --git a/host-pottwal.yml b/host-pottwal.yml index 464e86f..d2c9271 100644 --- a/host-pottwal.yml +++ b/host-pottwal.yml @@ -259,6 +259,8 @@ state: directory with_items: - "{{ data_dir }}/influxdb" + - "{{ data_dir }}/influxdb/data" + - "{{ data_dir }}/influxdb/cfg" - name: Ensure container for influxdb is running docker_container: @@ -277,7 +279,8 @@ DOCKER_INFLUXDB_INIT_ORG: Netz39 DOCKER_INFLUXDB_INIT_BUCKET: default volumes: - - "{{ data_dir }}/influxdb:/var/lib/influxdb2" + - "{{ data_dir }}/influxdb/data:/var/lib/influxdb2" + - "{{ data_dir }}/influxdb/cfg:/etc/influxdb2" - name: Setup proxy site {{ influxdb_domain_name }} include_role: