From 3439ae090c8c14857ebfa6a37ccfa8cbd5d342e3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 30 Sep 2020 23:17:10 +0200 Subject: [PATCH] fix ssh key deployment --- tasks/setup.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/setup.yml b/tasks/setup.yml index f8033d5..56f6f8c 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -25,10 +25,9 @@ - name: Write SSH private key copy: - content: "{{ item }}" + content: "{{ inst.sshkey | default(droneci_autoscaler_sshkey) }}" dest: "{{ __droneci_autoscaler_workdir }}/ssh_key" mode: 0600 - loop: "{{ inst.ssh_key | default(droneci_autoscaler_sshkey) }}" when: __droneci_autoscaler_sshkey no_log: True