Morgan McMillian
7f1edd761e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
11 lines
351 B
YAML
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
|