covas-deployment/.drone.yml

20 lines
477 B
YAML
Raw Normal View History

2022-10-28 21:33:15 +02:00
kind: pipeline
name: default
2022-10-31 20:30:26 +01:00
type: docker
2022-10-28 21:33:15 +02:00
steps:
2022-11-02 22:15:31 +01:00
- name: deploy
2022-10-31 20:30:26 +01:00
image: v4l3n71n/covas:latest
pull: if-not-exists
commands:
2022-11-02 22:15:31 +01:00
- 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
2022-10-31 20:30:26 +01:00
- ansible-playbook -i inventory --syntax-check playbook.yml
2022-11-02 22:15:31 +01:00
- ansible --ask-vault-password -i inventory -m ping playbook.yml
2022-10-31 20:30:26 +01:00
image_pull_secrets:
- dockerconfig