diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-12-13 00:16:24 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-12-13 00:16:24 +0100 |
commit | 66de6e08c414ada9111d8241a6ef5d844c3527bf (patch) | |
tree | e0eff089137c8071dd01c7cbeee96f54ebb728bb /roles/vm-install/tasks/main.yaml | |
parent | limit tftp server to vm bridge (diff) |
added workaround for new key detection
Diffstat (limited to 'roles/vm-install/tasks/main.yaml')
-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 }}" |