From d459ce504d4fd97ebc77dbd1194640113348aba6 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 9 Jan 2026 14:43:48 +0000 Subject: [PATCH] modified: infrastructure/ansible/deploy_logic_pull.yml modified: infrastructure/ansible/deploy_logic_push.yml --- infrastructure/ansible/deploy_logic_pull.yml | 12 ++++++------ infrastructure/ansible/deploy_logic_push.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/infrastructure/ansible/deploy_logic_pull.yml b/infrastructure/ansible/deploy_logic_pull.yml index 1fcccba..e13b4f3 100644 --- a/infrastructure/ansible/deploy_logic_pull.yml +++ b/infrastructure/ansible/deploy_logic_pull.yml @@ -41,12 +41,12 @@ {# Fallback: Wenn app_secrets direkt die Daten sind oder in 'secret'/'data' stecken #} {% set final_secrets = app_secrets.secret | default(app_secrets.data | default(app_secrets)) %} {% if final_secrets is mapping %} - {% for key, value in final_secrets.items() %} - {# Filtere Meta-Daten raus, falls wir doch das falsche Level erwischt haben #} - {% if key not in ['data', 'metadata', 'auth', 'lease_id', 'lease_duration', 'renewable', 'request_id', 'wrap_info', 'warnings', 'raw'] %} - {{ key | trim }}={{ value }} - {% endif %} - {% endfor %} + {% for key, value in final_secrets.items() %} + {# Filtere Meta-Daten raus #} + {% if key not in ['data', 'metadata', 'auth', 'lease_id', 'lease_duration', 'renewable', 'request_id', 'wrap_info', 'warnings', 'raw'] %} + {{ key | trim }}={{ value }} + {% endif %} + {% endfor %} {% endif %} mode: '0600' when: catalog_entry.stat.exists and app_item.has_secrets | default(false) and app_secrets is defined and app_secrets | length > 0 diff --git a/infrastructure/ansible/deploy_logic_push.yml b/infrastructure/ansible/deploy_logic_push.yml index 747feca..91ef93b 100644 --- a/infrastructure/ansible/deploy_logic_push.yml +++ b/infrastructure/ansible/deploy_logic_push.yml @@ -54,12 +54,12 @@ {# Fallback: Wenn app_secrets direkt die Daten sind oder in 'secret'/'data' stecken #} {% set final_secrets = app_secrets.secret | default(app_secrets.data | default(app_secrets)) %} {% if final_secrets is mapping %} - {% for key, value in final_secrets.items() %} - {# Filtere Meta-Daten raus, falls wir doch das falsche Level erwischt haben #} - {% if key not in ['data', 'metadata', 'auth', 'lease_id', 'lease_duration', 'renewable', 'request_id', 'wrap_info', 'warnings', 'raw'] %} - {{ key | trim }}={{ value }} - {% endif %} - {% endfor %} + {% for key, value in final_secrets.items() %} + {# Filtere Meta-Daten raus #} + {% if key not in ['data', 'metadata', 'auth', 'lease_id', 'lease_duration', 'renewable', 'request_id', 'wrap_info', 'warnings', 'raw'] %} + {{ key | trim }}={{ value }} + {% endif %} + {% endfor %} {% endif %} mode: '0600' when: app_item.has_secrets | default(false) and app_secrets | length > 0