Store only ed25519 key during provisioning
This commit is contained in:
parent
026e077fc7
commit
a3b3e91b09
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@
|
||||||
when: inventory_hostname not in result.list_vms
|
when: inventory_hostname not in result.list_vms
|
||||||
|
|
||||||
- name: get ssh keys from new host
|
- name: get ssh keys from new host
|
||||||
local_action: command ssh-keyscan {{ inventory_hostname }}
|
local_action: command ssh-keyscan -t ed25519 {{ inventory_hostname }}
|
||||||
register: hostkeys
|
register: hostkeys
|
||||||
when: inventory_hostname not in result.list_vms
|
when: inventory_hostname not in result.list_vms
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue