Echo ssh key to file
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Torjus Håkestad 2022-01-10 22:23:30 +01:00
parent 385da1e264
commit 5a8740a393

View File

@ -1,12 +1,12 @@
workspace:
base: /runner
path: /
pipeline:
run-playbooks:
image: quay.io/ansible/ansible-runner:latest
environment:
- RUNNER_PLAYBOOK=ping.yml
commands:
- mkdir env
- echo $SSH_KEY > env/ssh_key
- ansible-runner run `pwd`
secrets: [ssh_key]
when: