go: Fix error in check mode
This commit is contained in:
@@ -739,7 +739,7 @@
|
|||||||
path: "{{ go_download.path }}"
|
path: "{{ go_download.path }}"
|
||||||
state: absent
|
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
|
- name: link to the current go version
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user