Update the docker tag for ansible
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -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
|
||||||
|
Reference in New Issue
Block a user