16 lines
438 B
YAML
16 lines
438 B
YAML
pipeline:
|
|
test:
|
|
image: git.dreamfall.space/thrrgilag/ansible-builder
|
|
secrets: [ ssh_key ]
|
|
commands:
|
|
- echo $SSH_KEY > /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
|