This commit is contained in:
tolerryan
2024-10-20 03:33:41 -05:00
parent b11fcf5f0c
commit 0310e0ae6e

View File

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