summaryrefslogtreecommitdiff
path: root/common/vm-install.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-06 17:23:03 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-06 17:23:03 +0100
commitfa3df6c8389bae15532d11d8ffe8ded08fe5788a (patch)
treec5bc9d3d155b5a2981e0cdd3077f2c94915fcec4 /common/vm-install.yml
parentbasic openwrt deploy support (diff)
fix known host handling for openwrt-deploy
Diffstat (limited to 'common/vm-install.yml')
-rw-r--r--common/vm-install.yml2
1 files changed, 2 insertions, 0 deletions
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