From 6b5eba243e8e24cf25f8f2775ffa00ceff695c79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Tue, 16 Jul 2024 10:00:19 +0200
Subject: [PATCH] fix: use ANSIBLE_VAULT_PASSWORD_FILE instead of
 ANSIBLE_VAULT_IDENTITY_LIST in Gitlab-CI config, as it interferes with
 Molecule

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b8cbe79..a4cb2b1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ test-job:
   script:
     # make sure that Ansible Vaults are present and can be decrypted
     - echo "${VAULT_VALIDATORS}" > ../lza_validators.pass
-    - export ANSIBLE_VAULT_IDENTITY_LIST="../lza_validators.pass"
+    - export ANSIBLE_VAULT_PASSWORD_FILE="../lza_validators.pass"
     - rm -rf ../ansible_vaults/
     - git clone https://gitlab+deploy-token-25:${VAULT_ACCESS_TOKEN}@git.slub-dresden.de/slub-referat-2-3/ansible_vaults.git ../ansible_vaults/;
     # - for FILE in $( find /home/gitlab-runner/builds/ -name "lza_validators.pass" ); do ls -l $FILE; done
-- 
GitLab