aws_cloud: really gather both key types

This commit is contained in:
Pavel Raiskup 2023-11-21 14:03:07 +01:00
parent 445973ffba
commit 166879ab9f

View file

@ -19,7 +19,7 @@
when: birthday is defined
- name: gather the temporary ssh host key from the new instance
local_action: command ssh-keyscan -t rsa {{ inventory_hostname }}
local_action: command ssh-keyscan -t {{ item }} {{ inventory_hostname }}
register: hostkey
loop:
- rsa