ssh-key #9

Merged
noah.knegt merged 4 commits from ssh-key into master 2023-03-31 09:56:34 +02:00
2 changed files with 22 additions and 9 deletions
Showing only changes of commit e349df3ff5 - Show all commits

View File

@@ -23,8 +23,18 @@ steps:
environment: environment:
SSH_KEY: SSH_KEY:
from_secret: ssh_key from_secret: ssh_key
when:
event:
- push
branch:
- master
- name: ansible apply - name: ansible apply
image: cytopia/ansible:alpine image: cytopia/ansible:infra
commands: commands:
- ansible-playbook -i inventory/hosts site.yml --private-key /drone/src/.ssh/id_ed25519 - ansible-playbook -i inventory/hosts site.yml --private-key /drone/src/.ssh/id_ed25519
when:
event:
- push
branch:
- master