go: Fix error in check mode

This commit is contained in:
2022-12-15 19:43:25 +01:00
parent 9ae91e724d
commit 40c2b659c7

View File

@@ -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: