diff --git a/.gitignore b/.gitignore index fbfd6d7e..c9297a1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ .git/ -vault-pass.yml +vault-pass id_ed25519 id_ed25519.pub roles/ansible-role-pip diff --git a/.woodpecker/ansible-playbook.yml b/.woodpecker/ansible-playbook.yml index 19028bf0..e7fcc544 100644 --- a/.woodpecker/ansible-playbook.yml +++ b/.woodpecker/ansible-playbook.yml @@ -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') }}"