Try b64 secret
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Torjus Håkestad 2022-01-10 22:33:01 +01:00
parent c8ada6d306
commit 15dad0fc7d

View File

@ -5,10 +5,8 @@ pipeline:
- RUNNER_PLAYBOOK=ping.yml - RUNNER_PLAYBOOK=ping.yml
commands: commands:
- mkdir env - mkdir env
- echo $SSH_KEY > env/ssh_key - echo $SSH_KEY | base64 -d > env/ssh_key
- find .
- md5sum env/ssh_key - md5sum env/ssh_key
- cat env/ssh_key | head -n 1
- ansible-runner run `pwd` - ansible-runner run `pwd`
secrets: [ssh_key] secrets: [ssh_key]