From 6ba003e4eae68d8791ff766e346692bb995dc0ec Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 28 May 2015 17:49:23 +0000 Subject: [PATCH] Need this local keyscan action to be a command. --- tasks/virt_instance_create.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml index cf9055a7fd..568c4d8fb5 100644 --- a/tasks/virt_instance_create.yml +++ b/tasks/virt_instance_create.yml @@ -50,7 +50,7 @@ when: inventory_hostname not in result.list_vms - name: gather ssh host key from new instance - local_action: ssh-keyscan -t rsa {{ inventory_hostname }} + local_action: command ssh-keyscan -t rsa {{ inventory_hostname }} ignore_errors: True register: hostkey when: inventory_hostname not in result.list_vms