fix ssh key deployment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b7a46cb96e
commit
aab83c4ce3
@ -31,12 +31,13 @@
|
||||
when: __droneci_autoscaler_sshkey | length > 0
|
||||
no_log: True
|
||||
|
||||
- name: Generate SSH key pair if missing
|
||||
- name: Generate SSH key pair
|
||||
openssh_keypair:
|
||||
path: "{{ __droneci_autoscaler_workdir }}/ssh_key"
|
||||
type: ed25519
|
||||
force: False
|
||||
state: present
|
||||
when: not __droneci_autoscaler_sshkey | length > 0
|
||||
|
||||
- name: Write userdata
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user