From 40c2b659c706a0e80bb98fe0296a16ac21c46e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 15 Dec 2022 19:43:25 +0100 Subject: [PATCH] go: Fix error in check mode --- playbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index 0c6eaa8..cbf06e3 100644 --- a/playbook.yml +++ b/playbook.yml @@ -739,7 +739,7 @@ path: "{{ go_download.path }}" state: absent - when: not go_target_stat.stat.exists + when: not go_target_stat.stat.exists and not ansible_check_mode - name: link to the current go version file: