diff --git a/roles/lib/setup-restic.yml b/roles/lib/setup-restic.yml index c0f5402..607a9fd 100644 --- a/roles/lib/setup-restic.yml +++ b/roles/lib/setup-restic.yml @@ -180,8 +180,7 @@ ansible.builtin.command: path: /etc/ssh/ssh_known_hosts cmd: "ssh-keyscan -p 25456 misamisa.duckdns.org >> ~/.ssh/known_hosts" - name: misamisa.duckdns.org - state: present + creates: /etc/ssh/ssh_known_hosts - name: Download restic bz2 file get_url: