fix ssh key deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-09-30 23:34:16 +02:00
parent 1538f7b271
commit fb6ca0b15c
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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: