From fd4a1e892067e4e7b9fee31d9409ff3681b37a2d Mon Sep 17 00:00:00 2001 From: Sheppy Date: Sun, 22 Dec 2024 19:26:29 +0000 Subject: [PATCH] fix: template tube archivist es pw --- group_vars/all.yaml | 2 ++ roles/docker-deployments/templates/tube-archivist.yaml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/group_vars/all.yaml b/group_vars/all.yaml index d8575ce..6ad7b85 100644 --- a/group_vars/all.yaml +++ b/group_vars/all.yaml @@ -8,6 +8,8 @@ RSYSLOG_SERVER: internal.monitoring.atlantishq.de influxdb_telegraf_password: HISTORY_PURGED_SECRET code_server_password: HISTORY_PURGED_SECRET +tube_archivist_elasticsearch_password: HISTORY_PURGED_SECRET + icinga_api_user: "mobile" icinga_api_pass: "HISTORY_PURGED_SECRET" icinga_api_url: "https://192.168.122.107:5665" diff --git a/roles/docker-deployments/templates/tube-archivist.yaml b/roles/docker-deployments/templates/tube-archivist.yaml index d39bebc..e1b1c9e 100644 --- a/roles/docker-deployments/templates/tube-archivist.yaml +++ b/roles/docker-deployments/templates/tube-archivist.yaml @@ -18,7 +18,7 @@ services: - TA_HOST=tubearchivist.local # set your host name - TA_USERNAME=tubearchivist # your initial TA credentials - TA_PASSWORD=verysecret # your initial TA credentials - - ELASTIC_PASSWORD=HISTORY_PURGED_SECRET # set password for Elasticsearch + - ELASTIC_PASSWORD={{ tube_archivist_elasticsearch_password }} - TZ=Europe/Berlin # set your time zone healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] @@ -44,7 +44,7 @@ services: container_name: archivist-es restart: unless-stopped environment: - - "ELASTIC_PASSWORD=HISTORY_PURGED_SECRET" # matching Elasticsearch password + - "ELASTIC_PASSWORD={{ tube_archivist_elasticsearch_password }}" - "ES_JAVA_OPTS=-Xms1g -Xmx1g" - "xpack.security.enabled=true" - "discovery.type=single-node"