mcmillian.dev/.woodpecker.yml
Morgan McMillian 7f1edd761e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
replace jenkins build with woodpecker-ci
2023-03-09 14:06:03 -08:00

11 lines
351 B
YAML

pipeline:
publish:
image: alpine:latest
secrets: [ ssh_key ]
environment:
- ANSIBLE_HOST_KEY_CHECKING=False
commands:
- apk add --update ansible rsync openssh
- printf "$SSH_KEY" > privateKey
- chmod 600 privateKey
- ansible-playbook --user igor --inventory hosts.ini --private-key privateKey main.yaml