Ansible role which installs Golang
This role can be uesd to install Golang on a workstation or server, accessible system-wide or by a single user. It has been tested on Linux (WSL and stock Ubuntu) along with macOS. It probably needs a recent Ansible.
This role is still kinda beta.
golang_version
defaults to1.9.2
golang_base_path
defaults to/opt
but you will want to override this if you are installing as a usergolang_cache_path
controls where we cache our downloaded filesgolang_profile
is a boolean, enabled by default, determines whether or not we install a profile snippetgolang_profile_path
controls where the profile snippet is installedgolang_profile_file
is the name of the profile snippetgolang_user
andgolang_group
are kinda self explanatory
Licensed under the MIT License. See the LICENSE file for details.
Are welcome!