From 99a88e1baa056bcefd34da3b0989f106f02ba09f Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Fri, 28 Aug 2020 15:44:29 +0000 Subject: [PATCH] Add temporary ssh config for adm hosts * Route vmhost01 through ssh until it gets relocated * Disable ip host key checking until we get ssh host certificates --- playbooks/adm.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/playbooks/adm.yml b/playbooks/adm.yml index 685a6c6..80883b2 100644 --- a/playbooks/adm.yml +++ b/playbooks/adm.yml @@ -35,3 +35,14 @@ - make - virt-install - yamllint + - name: disable ip host key checking from ssh + copy: + content: | + Host *.home.foo.sh + CheckHostIP no + Host vmhost01.home.foo.sh + ProxyJump root@ssh.foo.sh + dest: /root/.ssh/config + mode: 0600 + owner: root + group: "{{ ansible_wheel }}"