add dataserver's known host to homeserver
This commit is contained in:
parent
30a87cef3c
commit
70c3ae31de
6 changed files with 47 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue