fix upgrade bug
This commit is contained in:
parent
8dae1331f7
commit
7b242c65a6
@ -52,7 +52,8 @@
|
||||
src: "/usr/local/src/go{{ go_version }}.{{ ansible_system | lower }}-{{ go_arch }}.tar.gz"
|
||||
dest: /usr/local
|
||||
remote_src: yes
|
||||
when: st.stat.exists is defined and not st.stat.exists
|
||||
when:
|
||||
- (st.stat.exists is defined and not st.stat.exists) or gv.stdout != go_version_str
|
||||
|
||||
- name: environment
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user