Need this local keyscan action to be a command.

This commit is contained in:
Kevin Fenzi 2015-05-28 17:49:23 +00:00
parent c1bb97974b
commit 6ba003e4ea

View file

@ -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