forked from FF-RGB/ansible
Only fetch and unpack go if binary is missing
This commit is contained in:
parent
dc115c319b
commit
005fd47b1a
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Download and install go
|
- name: Download and install go
|
||||||
unarchive: src=https://dl.google.com/go/go{{ go_version }}.linux-amd64.tar.gz dest=/usr/local copy=no
|
unarchive: src=https://dl.google.com/go/go{{ go_version }}.linux-amd64.tar.gz dest=/usr/local remote_src=yes creates=/usr/local/go/bin/go
|
||||||
|
|
||||||
- name: Configure go
|
- name: Configure go
|
||||||
copy: src=go.sh dest=/etc/profile.d/go.sh
|
copy: src=go.sh dest=/etc/profile.d/go.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user