16 lines
376 B
YAML
16 lines
376 B
YAML
pipeline:
|
|
test:
|
|
image: debian:stable
|
|
secrets: [ ssh_key ]
|
|
commands:
|
|
- echo $SSH_KEY > /tmp/privateKey
|
|
- ssh -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
|