From 5a8740a3931b23a227b7eeecff17c2a8e9ae55cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 10 Jan 2022 22:23:30 +0100 Subject: [PATCH] Echo ssh key to file --- .woodpecker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 842368b..904ecb2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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: