20 lines
477 B
YAML
20 lines
477 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: deploy
|
|
image: v4l3n71n/covas:latest
|
|
pull: if-not-exists
|
|
commands:
|
|
- eval $(ssh-agent -s)
|
|
- id -u ansible
|
|
- sshpass -p 50ford5080850 ssh-add ssh_keys/id_rsa_nas
|
|
- sshpass -p 23v4l3n71n02cz3ry841993 ssh-add ssh_keys/id_rsa_vps
|
|
- ansible-playbook -i inventory --syntax-check playbook.yml
|
|
- ansible --ask-vault-password -i inventory -m ping playbook.yml
|
|
|
|
|
|
image_pull_secrets:
|
|
- dockerconfig
|