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