fix upgrade bug

This commit is contained in:
Ryan Cavicchioni 2020-04-20 22:26:41 -05:00
parent 8dae1331f7
commit 7b242c65a6
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -52,7 +52,8 @@
src: "/usr/local/src/go{{ go_version }}.{{ ansible_system | lower }}-{{ go_arch }}.tar.gz" src: "/usr/local/src/go{{ go_version }}.{{ ansible_system | lower }}-{{ go_arch }}.tar.gz"
dest: /usr/local dest: /usr/local
remote_src: yes 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 - name: environment
copy: copy: