fix ssh key deployment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1538f7b271
commit
fb6ca0b15c
@ -3,7 +3,6 @@ droneci_autoscaler_version: latest
|
|||||||
droneci_autoscaler_image: "drone/autoscaler:latest"
|
droneci_autoscaler_image: "drone/autoscaler:latest"
|
||||||
|
|
||||||
droneci_autoscaler_service_directory: /var/lib/docker/services/droneci_autoscaler
|
droneci_autoscaler_service_directory: /var/lib/docker/services/droneci_autoscaler
|
||||||
droneci_autoscaler_container_name: droneci_autoscaler
|
|
||||||
droneci_autoscaler_restart_policy: always
|
droneci_autoscaler_restart_policy: always
|
||||||
droneci_autoscaler_service_stopped: False
|
droneci_autoscaler_service_stopped: False
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
- name: Register SSH key
|
- name: Register SSH key
|
||||||
set_fact:
|
set_fact:
|
||||||
__droneci_autoscaler_sshkey: "{{ inst.ssh_key | default(droneci_autoscaler_sshkey) | default(False) }}"
|
__droneci_autoscaler_sshkey: "{{ inst.sshkey | default(droneci_autoscaler_sshkey) | default(False) }}"
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Ensure service directory exists
|
- name: Ensure service directory exists
|
||||||
|
@ -4,7 +4,7 @@ version: "2.4"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
droneci_autoscaler_{{ inst.name }}:
|
droneci_autoscaler_{{ inst.name }}:
|
||||||
container_name: {{ droneci_autoscaler_container_name }}
|
container_name: {{ inst.name }}
|
||||||
image: {{ droneci_autoscaler_image }}
|
image: {{ droneci_autoscaler_image }}
|
||||||
restart: {{ droneci_autoscaler_restart_policy }}
|
restart: {{ droneci_autoscaler_restart_policy }}
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user