ci: fix output

This commit is contained in:
Michael Grote 2024-07-09 18:32:09 +02:00
parent 25d7a426b1
commit b987fa99af

View file

@ -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: