From 6706fad99dd6b8b576f06969872525bc19503a2f Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 25 Nov 2024 10:58:39 +0000 Subject: [PATCH] Fix checkmode --- tasks/init.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/init.yaml b/tasks/init.yaml index 3d2be62..a0401dc 100644 --- a/tasks/init.yaml +++ b/tasks/init.yaml @@ -2,6 +2,8 @@ - name: Get borg target host SSH host key ansible.builtin.command: "ssh-keyscan -H {{ item.split('@')[1].split(':')[0] }}" loop: "{{ borgmatic_config['location']['repositories'] }}" + check_mode: false + changed_when: false when: - "'location' in borgmatic_config" - "'repositories' in borgmatic_config['location']"