add dataserver's known host to homeserver

This commit is contained in:
Pim Kunis 2023-01-12 17:13:39 +01:00
parent 30a87cef3c
commit 70c3ae31de
6 changed files with 47 additions and 5 deletions

View file

@ -23,3 +23,8 @@
src: "{{ role_path }}/files/resolv.conf"
dest: /etc/resolv.conf
follow: true
- name: Add dataserver to known hosts
known_hosts:
name: "lewis.lan"
key: "lewis.lan ssh-ed25519 {{ dataserver_public_key }}"
state: present