go: make version configureable, use 1.8.5

This commit is contained in:
Markus 2018-01-17 10:41:02 +01:00
parent c2c8acea51
commit dc115c319b
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
---
go_version: 1.8.5

View File

@ -1,7 +1,7 @@
---
- name: Download and install go
unarchive: src=https://storage.googleapis.com/golang/go1.8.1.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 copy=no
- name: Configure go
copy: src=go.sh dest=/etc/profile.d/go.sh