ci: fix output
This commit is contained in:
parent
25d7a426b1
commit
b987fa99af
1 changed files with 2 additions and 4 deletions
|
@ -8,11 +8,9 @@ steps:
|
|||
commands:
|
||||
- echo $${VAULTPASS} > ./vault-pass.yml # nach des Secret in Großschreibung
|
||||
- ansible-galaxy install -r requirements.yaml
|
||||
- echo $${SSHKEY}
|
||||
- echo $${SSHKEY} | base64 -d > ./id_ed25519
|
||||
- echo $${SSHKEY} | base64 -d
|
||||
- echo $${SSHKEY} | base64 -d > ./id_ed25519 # woodpecker verschluckt linebreakes, daher mit base64 -w0 "kodiert"
|
||||
- chmod 0400 ./id_ed25519
|
||||
- ansible-playbook -vv playbooks/2_all.yml playbooks/3_service/* --limit production
|
||||
- ansible-playbook playbooks/2_all.yml playbooks/3_service/* --limit production
|
||||
# https://woodpecker-ci.org/docs/usage/secrets#use-secrets-in-commands
|
||||
secrets: [vaultpass, sshkey]
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue