From b94a4557a71f3ed33ac06abd3f8b8974fbfd6e76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Wed, 30 Aug 2023 09:32:45 +0200
Subject: [PATCH] fix: set search path for Vault password file outside of role
 directory so Molecule will work locally and in CI

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 836cc00..8ccc1d7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,8 @@ default:
     - molecule --version
 variables:
   SCENARIO: "default"
-  ANSIBLE_VAULT_PASSWORD_FILE: "molecule/lza_server_hardening.pass"
+  # ANSIBLE_VAULT_PASSWORD_FILE: "molecule/lza_server_hardening.pass"
+  ANSIBLE_VAULT_PASSWORD_FILE: "../../../lza_server_hardening.pass"
     
 
 test-job:
-- 
GitLab