diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2015-05-28 17:49:23 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2015-05-28 17:49:23 +0000 |
| commit | 6ba003e4eae68d8791ff766e346692bb995dc0ec (patch) | |
| tree | b7f90ab0141cec7a7f764054885d47fe366d863b | |
| parent | c1bb97974bb1f744ce5c51c915cadabf4ee493ac (diff) | |
| download | ansible-6ba003e4eae68d8791ff766e346692bb995dc0ec.tar.gz ansible-6ba003e4eae68d8791ff766e346692bb995dc0ec.tar.xz ansible-6ba003e4eae68d8791ff766e346692bb995dc0ec.zip | |
Need this local keyscan action to be a command.
| -rw-r--r-- | tasks/virt_instance_create.yml | 2 |
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 |
