Installs Golang in /usr/local/go folder.
No requirements.
Available variables are listed below, along with default values (see defaults/main.yml):
golang_version: "1.20.5"
golang_package_sha256: "d7ec48cde0d3d2be2c69203bc3e0a44de8660b9c09a6e85c4732a3f7dc442612"
golang_path: "/usr/local"
None.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: all
vars:
golang_path: "/opt/golang"
roles:
- curuvija.ansible_role_golang
MIT / BSD
This role was created by Milos Curuvija in 2023.