From b7a46cb96e0447c2f79cd0916ff8896966e0936c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 1 Oct 2020 00:33:03 +0200 Subject: [PATCH] fix ssh key deployment --- tasks/setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/setup.yml b/tasks/setup.yml index b7eeff8..0bebeca 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -28,7 +28,7 @@ content: "{{ __droneci_autoscaler_sshkey }}" dest: "{{ __droneci_autoscaler_workdir }}/ssh_key" mode: 0600 - when: __droneci_autoscaler_sshkey | legth > 0 + when: __droneci_autoscaler_sshkey | length > 0 no_log: True - name: Generate SSH key pair if missing