mcmillian.us/.woodpecker.yml
Morgan McMillian 2cffd47ce6
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
replace jenkins build with woodpecker-ci
2023-03-09 14:07:00 -08:00

12 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