This commit is contained in:
Michael Grote 2024-07-25 21:35:35 +02:00
parent e7a967bb00
commit 93385a84bd
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,5 +1,5 @@
.git/
vault-pass.yml
vault-pass
id_ed25519
id_ed25519.pub
roles/ansible-role-pip

View file

@ -8,7 +8,7 @@ steps:
commands:
# Secrets
- echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert"
- echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung
- echo $${VAULTPASS} | base64 -d > ./vault-pass # Name des Secrets in Großschreibung
- chmod 0400 ./id_ed25519
# Debug
- ansible localhost -m debug -a "var={{ lookup('viczem.keepass.keepass', 'restic_repository_password', 'password') }}"