diff options
Diffstat (limited to 'roles/vm-install')
-rw-r--r-- | roles/vm-install/tasks/main.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/vm-install/tasks/main.yaml b/roles/vm-install/tasks/main.yaml index 4e5167d2..a59e6fe2 100644 --- a/roles/vm-install/tasks/main.yaml +++ b/roles/vm-install/tasks/main.yaml @@ -109,11 +109,19 @@ delegate_to: "{{ vm_install.host }}" when: vm_install.autostart is defined +- name: disable ssh StrictHostKeyChecking for the next step + set_fact: + ansible_ssh_extra_args: -o StrictHostKeyChecking=no + - name: wait for vm to start up wait_for_connection: delay: 5 timeout: 120 +- name: reenable StrictHostKeyChecking + set_fact: + ansible_ssh_extra_args: "" + - name: remove dummy logical volume lvol: vg: "{{ inventory_hostname }}" |