This commit is contained in:
parent
d871d12b02
commit
3439ae090c
@ -25,10 +25,9 @@
|
|||||||
|
|
||||||
- name: Write SSH private key
|
- name: Write SSH private key
|
||||||
copy:
|
copy:
|
||||||
content: "{{ item }}"
|
content: "{{ inst.sshkey | default(droneci_autoscaler_sshkey) }}"
|
||||||
dest: "{{ __droneci_autoscaler_workdir }}/ssh_key"
|
dest: "{{ __droneci_autoscaler_workdir }}/ssh_key"
|
||||||
mode: 0600
|
mode: 0600
|
||||||
loop: "{{ inst.ssh_key | default(droneci_autoscaler_sshkey) }}"
|
|
||||||
when: __droneci_autoscaler_sshkey
|
when: __droneci_autoscaler_sshkey
|
||||||
no_log: True
|
no_log: True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user