From 166879ab9fc42a3a12f35e7ceeadfe67941703b4 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 21 Nov 2023 14:03:07 +0100 Subject: [PATCH] aws_cloud: really gather both key types --- tasks/aws_cloud.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/aws_cloud.yml b/tasks/aws_cloud.yml index 444c6f26e5..8d076e1aa3 100644 --- a/tasks/aws_cloud.yml +++ b/tasks/aws_cloud.yml @@ -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