summaryrefslogtreecommitdiffstats
path: root/tasks/virt_instance_create.yml
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2015-05-05 21:48:06 +0000
committerKevin Fenzi <kevin@scrye.com>2015-05-05 21:48:06 +0000
commitcb471507ea00a8a8eec2975c30afcd0e06cce1b0 (patch)
treeecdb28201e31b5ab738977e3de253adbf0a851b9 /tasks/virt_instance_create.yml
parent8180aa4f6725632b9362cb79631de96d05cfd77e (diff)
downloadansible-cb471507ea00a8a8eec2975c30afcd0e06cce1b0.tar.gz
ansible-cb471507ea00a8a8eec2975c30afcd0e06cce1b0.tar.xz
ansible-cb471507ea00a8a8eec2975c30afcd0e06cce1b0.zip
Drop this known_hosts thing from virt_host_create for now, it has no where to look up the host key.
Diffstat (limited to 'tasks/virt_instance_create.yml')
-rw-r--r--tasks/virt_instance_create.yml7
1 files changed, 0 insertions, 7 deletions
diff --git a/tasks/virt_instance_create.yml b/tasks/virt_instance_create.yml
index f0f20d7bb..1d159fa95 100644
--- a/tasks/virt_instance_create.yml
+++ b/tasks/virt_instance_create.yml
@@ -45,13 +45,6 @@
- /etc/ssh/ssh_known_hosts
when: inventory_hostname not in result.list_vms
-- name: Add new ssh_host_key for newly installed host
- local_action: known_hosts path={{item}} host={{ inventory_hostname }} state=present
- ignore_errors: True
- with_items:
- - /root/.ssh/known_hosts
- when: inventory_hostname not in result.list_vms
-
- name: wait for ssh on the vm to start back
local_action: wait_for delay=10 host={{ inventory_hostname }} port=22 state=started timeout=1200
when: inventory_hostname not in result.list_vms