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: