summaryrefslogtreecommitdiff
path: root/common/vm-deploy.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-deploy.yml
parentbasic openwrt deploy support (diff)
fix known host handling for openwrt-deploy
Diffstat (limited to 'common/vm-deploy.yml')
-rw-r--r--common/vm-deploy.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/vm-deploy.yml b/common/vm-deploy.yml
index 5368df3e..8f4aa926 100644
--- a/common/vm-deploy.yml
+++ b/common/vm-deploy.yml
@@ -38,3 +38,6 @@
gather_facts: no
roles:
- role: vm/guest/deploy
+ post_tasks:
+ - name: remove host-keys from ssh known-hosts
+ local_action: command "{{ (inventory_dir, '../remove-known-host.sh') | path_join | realpath }}" "{{ install_hostname }}"