From fa3df6c8389bae15532d11d8ffe8ded08fe5788a Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 6 Jan 2022 17:23:03 +0100 Subject: fix known host handling for openwrt-deploy --- common/vm-install.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/vm-install.yml') diff --git a/common/vm-install.yml b/common/vm-install.yml index 90b08c56..cffde0c2 100644 --- a/common/vm-install.yml +++ b/common/vm-install.yml @@ -34,6 +34,8 @@ set_fact: ansible_ssh_extra_args: "-o StrictHostKeyChecking=no{% if install_jumphost is defined %} -o 'ProxyCommand ssh -q -a {{ install_jumphost }} -W %h:%p'{% endif %}" + - name: remove host-keys from ssh known-hosts + local_action: command "{{ (inventory_dir, '../remove-known-host.sh') | path_join | realpath }}" "{{ install_hostname }}" - name: clear all gathered facts meta: clear_facts - name: wait for host to start up -- cgit v1.2.3