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
This commit is contained in:
Timo Makinen 2020-08-28 15:44:29 +00:00
parent acbe47c53f
commit 99a88e1baa

View file

@ -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 }}"