summaryrefslogtreecommitdiffstats
path: root/tasks/virt_instance_create.yml
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2015-05-28 17:49:23 +0000
committerKevin Fenzi <kevin@scrye.com>2015-05-28 17:49:23 +0000
commit6ba003e4eae68d8791ff766e346692bb995dc0ec (patch)
treeb7f90ab0141cec7a7f764054885d47fe366d863b /tasks/virt_instance_create.yml
parentc1bb97974bb1f744ce5c51c915cadabf4ee493ac (diff)
downloadansible-6ba003e4eae68d8791ff766e346692bb995dc0ec.tar.gz
ansible-6ba003e4eae68d8791ff766e346692bb995dc0ec.tar.xz
ansible-6ba003e4eae68d8791ff766e346692bb995dc0ec.zip
Need this local keyscan action to be a command.
Diffstat (limited to 'tasks/virt_instance_create.yml')
-rw-r--r--tasks/virt_instance_create.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml
index cf9055a7f..568c4d8fb 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