ci: fix vault-pass secret
This commit is contained in:
parent
8f2fd7acde
commit
f263d0075c
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ steps:
|
||||||
image: quay.io/ansible/creator-ee:v24.2.0
|
image: quay.io/ansible/creator-ee:v24.2.0
|
||||||
commands:
|
commands:
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
|
- echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung
|
||||||
- ansible-galaxy install -r requirements.yaml
|
- ansible-galaxy install -r requirements.yaml
|
||||||
- ansible-lint --force-color --format pep8
|
- ansible-lint --force-color --format pep8
|
||||||
# https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands
|
# https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands
|
||||||
|
|
|
@ -6,7 +6,7 @@ steps:
|
||||||
ansible-playbook:
|
ansible-playbook:
|
||||||
image: quay.io/ansible/creator-ee:v24.2.0
|
image: quay.io/ansible/creator-ee:v24.2.0
|
||||||
commands:
|
commands:
|
||||||
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
|
- echo $${VAULTPASS} | base64 -d > ./vault-pass.yml # Name des Secrets in Großschreibung
|
||||||
- ansible-galaxy install -r requirements.yaml
|
- ansible-galaxy install -r requirements.yaml
|
||||||
- echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert"
|
- echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert"
|
||||||
- chmod 0400 ./id_ed25519
|
- chmod 0400 ./id_ed25519
|
||||||
|
|
Loading…
Reference in a new issue