From 51c4b8040912087b4e62501fcae8ede997a949d2 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Sun, 20 Oct 2024 03:23:34 -0500 Subject: [PATCH] /etc/ssh/ssh_known_hosts --- roles/lib/setup-restic.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: