diff --git a/playbooks/setup-restic.yaml b/playbooks/setup-restic.yaml index 5ad9543..a208aaa 100644 --- a/playbooks/setup-restic.yaml +++ b/playbooks/setup-restic.yaml @@ -166,21 +166,9 @@ group: users mode: '0755' - - name: Create SSH config file - copy: - dest: /root/.ssh/config - content: | - Hostname misamisa.netbird.cloud - Port 25456 - User restic - IdentityFile /home/restic/.ssh/resticuser.ed25519 - owner: root - group: root - mode: '0644' - - # - name: Add known host entry for misamisa - # become: yes - # shell: "ssh-keyscan -p 25456 -H misamisa.duckdns.org >> ~/.ssh/known_hosts" + - name: Add known host entry for misamisa + become: yes + shell: "ssh-keyscan -p 25456 -H misamisa.duckdns.org >> ~/.ssh/known_hosts" - name: Download restic bz2 file get_url: