From 21b1cea09af57535ce92ce4c79bacb3617363b3d Mon Sep 17 00:00:00 2001 From: carazzim0 Date: Sun, 24 Apr 2022 17:05:21 +0200 Subject: Fix: the iso_local file gets overridden when the src and dst file checksums do not match: https://github.com/ansible/ansible/issues/64016 --- roles/download-iso/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/download-iso/tasks/main.yml b/roles/download-iso/tasks/main.yml index c38e49d..6e2b3bf 100644 --- a/roles/download-iso/tasks/main.yml +++ b/roles/download-iso/tasks/main.yml @@ -3,3 +3,4 @@ url: "{{ vyos_iso_url }}" dest: "{{ vyos_iso_local }}" force: no + when: not vyos_iso_local is exists -- cgit v1.2.3