nrec-ansible/.woodpecker.yml
Torjus Håkestad 15dad0fc7d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Try b64 secret
2022-01-10 22:33:01 +01:00

16 lines
339 B
YAML

pipeline:
run-playbooks:
image: quay.io/ansible/ansible-runner:latest
environment:
- RUNNER_PLAYBOOK=ping.yml
commands:
- mkdir env
- echo $SSH_KEY | base64 -d > env/ssh_key
- md5sum env/ssh_key
- ansible-runner run `pwd`
secrets: [ssh_key]
when:
branch: master
event: push