nrec-ansible/.woodpecker.yml
Torjus Håkestad e6181e3c9a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add debug cat
2022-01-10 22:24:28 +01:00

16 lines
324 B
YAML

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