Original post

This golang roles installs Go into the user’s home directory

variables that can be used to customize installation:

go_ver        - version of go to install (use always the latest patch release)
go_platform   - os and architecture
go_parent_dir - directory to store go versions

The role does no set any environment variables. With the adoption of go modules need to set GOPATH should be reduced in the future.

The go_parent_dir variable may change from being relative to absolute in the future.

History

Version Description
1.13.8 add support for 1.13.8 and 1.12.17
1.13.7 add support for 1.13.7 and 1.12.16
1.13.6 add support for 1.13.6 and 1.12.15
1.13.5 add support for 1.13.5 and 1.12.14
1.13.4 add support for 1.13.4 and 1.12.13
1.13.3 add support for 1.13.3 and 1.12.12
change version to highest supported go version
0.2.11 remove unused template
0.2.10 add 1.13.1
add 1.12.10
0.2.9 add 1.13
0.2.8 add 1.12.9 and 1.11.13
0.2.7 add 1.12.7
0.2.6 add 1.12.6 and 1.11.11
0.2.5 add go 1.12.5
0.2.4 fix dict key for 1.12.4
0.2.3 add go version 1.12.4
0.2.1 fix typos
0.2.0 limit to go version 1.11 and 1.12
update to current patch releases
0.1.1 fix: create go_parent_dir if it does not exist
0.1.0 initial release