hostkey
This commit is contained in:
@@ -175,9 +175,14 @@
|
||||
group: users
|
||||
mode: '0644'
|
||||
|
||||
|
||||
- name: Add known host entry for misamisa
|
||||
ansible.builtin.command:
|
||||
copy:
|
||||
|
||||
dest: /etc/ssh/ssh_known_hosts
|
||||
content: "{{ misamisa_hostkey }}"
|
||||
owner: restic
|
||||
group: users
|
||||
mode: '0644'
|
||||
cmd: "ssh-keyscan -p 25456 misamisa.duckdns.org >> ~/.ssh/known_hosts"
|
||||
creates: /etc/ssh/ssh_known_hosts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user