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