From 04a38cb7b5b5027d895238f466d0f7b67ba67933 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Thu, 4 Apr 2024 19:39:19 +0000
Subject: [PATCH] Fix secrets in notebooks deployments

---
 cesnet-central/playbooks/notebooks.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cesnet-central/playbooks/notebooks.yaml b/cesnet-central/playbooks/notebooks.yaml
index b69c418..d7ca156 100644
--- a/cesnet-central/playbooks/notebooks.yaml
+++ b/cesnet-central/playbooks/notebooks.yaml
@@ -33,7 +33,7 @@
     - name: Copy config file to master
       vars:
         name: "{{ item | basename | splitext | first }}"
-        secret: "{{ secrets['central'] }}"
+        secret: "{{ secrets[name] }}"
         gateways_token: "{{ gateways_token }}"
       template:
         src: "{{ item }}"
-- 
GitLab