From 8a2c2769c8342d4c75c63851067af716684753ec Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 29 Jul 2023 23:15:00 +0200 Subject: [PATCH] Use new secrets path, bc of noc pass store merge into general store --- inventories/z9/host_vars/zigbee2mqtt.yaml | 2 +- playbooks/templates/configs/engelsystem/compose.yaml.j2 | 2 +- playbooks/templates/configs/keycloak/compose.yaml.j2 | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inventories/z9/host_vars/zigbee2mqtt.yaml b/inventories/z9/host_vars/zigbee2mqtt.yaml index c75902d..3e400b6 100644 --- a/inventories/z9/host_vars/zigbee2mqtt.yaml +++ b/inventories/z9/host_vars/zigbee2mqtt.yaml @@ -1,5 +1,5 @@ zigbee2mqtt__version: "1.32.1" -zigbee2mqtt__network_key: "{{ lookup('community.general.passwordstore', 'vm-secrets/zigbee2mqtt/network_key', create=false, missing='error') }}" +zigbee2mqtt__network_key: "{{ lookup('community.general.passwordstore', 'noc/vm-secrets/zigbee2mqtt/network_key', create=false, missing='error') }}" zigbee2mqtt__initial_config: "{{ lookup('ansible.builtin.template', 'configs/zigbee2mqtt/zigbee2mqtt/configuration.yaml.j2') }}" cert__acme_account_email: jannes+letsencrypt-ccchh@grzb.de cert__domains: diff --git a/playbooks/templates/configs/engelsystem/compose.yaml.j2 b/playbooks/templates/configs/engelsystem/compose.yaml.j2 index 0fdf624..9529f75 100644 --- a/playbooks/templates/configs/engelsystem/compose.yaml.j2 +++ b/playbooks/templates/configs/engelsystem/compose.yaml.j2 @@ -19,7 +19,7 @@ services: MAIL_PORT: 465 MAIL_ENCRYPTION: tls MAIL_USERNAME: aes - MAIL_PASSWORD: {{ lookup("community.general.passwordstore", "vm-secrets/engelsystem/MAIL_PASSWORD", create=false, missing="error") }} + MAIL_PASSWORD: {{ lookup("community.general.passwordstore", "noc/vm-secrets/engelsystem/MAIL_PASSWORD", create=false, missing="error") }} ports: - "5080:80" networks: diff --git a/playbooks/templates/configs/keycloak/compose.yaml.j2 b/playbooks/templates/configs/keycloak/compose.yaml.j2 index 87ae405..c6b51a7 100644 --- a/playbooks/templates/configs/keycloak/compose.yaml.j2 +++ b/playbooks/templates/configs/keycloak/compose.yaml.j2 @@ -46,11 +46,11 @@ services: - keycloak environment: KEYCLOAK_ADMIN: admin - KEYCLOAK_ADMIN_PASSWORD: {{ lookup("community.general.passwordstore", "vm-secrets/keycloak/KEYCLOAK_ADMIN_PASSWORD", create=false, missing="error") }} + KEYCLOAK_ADMIN_PASSWORD: {{ lookup("community.general.passwordstore", "noc/vm-secrets/keycloak/KEYCLOAK_ADMIN_PASSWORD", create=false, missing="error") }} KC_DB: postgres KC_DB_URL_HOST: db KC_DB_USERNAME: keycloak - KC_DB_PASSWORD: {{ lookup("community.general.passwordstore", "vm-secrets/keycloak/KC_DB_PASSWORD", create=false, missing="error") }} + KC_DB_PASSWORD: {{ lookup("community.general.passwordstore", "noc/vm-secrets/keycloak/KC_DB_PASSWORD", create=false, missing="error") }} KC_HOSTNAME: id.ccchh.net KC_HOSTNAME_STRICT_BACKCHANNEL: true KC_HOSTNAME_ADMIN: keycloak-admin.ccchh.net @@ -67,7 +67,7 @@ services: - "./database:/var/lib/postgresql/data" environment: POSTGRES_USER: keycloak - POSTGRES_PASSWORD: {{ lookup("community.general.passwordstore", "vm-secrets/keycloak/POSTGRES_PASSWORD", create=false, missing="error") }} + POSTGRES_PASSWORD: {{ lookup("community.general.passwordstore", "noc/vm-secrets/keycloak/POSTGRES_PASSWORD", create=false, missing="error") }} POSTGRES_DB: keycloak networks: