This role installs Golang from a binary package.
By default the latest stable version is installed.
You can specify another version using variable golang_version
. For example:
---
- hosts:
- testhost
become: yes
vars:
golang_version: 1.7.5
roles:
- golang
- 1.7.5
- 1.7
- 1.6.3
- 1.5.4
- 1.4.3
- Linux x64
- Linux i386
MIT