test-proj/.woodpecker.yml
Morgan McMillian 99031b215f
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
test
2023-03-08 21:49:56 -08:00

21 lines
561 B
YAML

pipeline:
test:
image: git.dreamfall.space/thrrgilag/ansible-builder
secrets: [ ssh_key ]
commands:
- echo $SSH_KEY > /tmp/privateKey
- chmod 600 /tmp/privateKey
- wc -l /tmp/privateKey
- wc -c /tmp/privateKey
- tail /tmp/privateKey
- ssh -o "StrictHostKeyChecking=no" -i /tmp/privateKey igor@vimes.dreamfall.space "cat /ec/os-release"
publish:
image: plugins/ansible
secrets: [ ssh_key ]
settings:
playbook: main.yml
inventory: hosts.ini
user: igor
private_key: $SSH_KEY