Installs the golang tools on a Ubuntu/Debian machine.
- x86_64 / amd64
- armv7l / armhf
- aarch64 / arm64
- Ubuntu:
- 16.04 (xenial)
- 18.04 (bionic)
- 20.04 (focal)
- Debian
- 9 (stretch)
- 10 (buster)
Variable | Type | Mandatory? | Default | Description |
---|---|---|---|---|
golang_version | text | no | 1.14.4 |
The golang version |
- name: install-golang
src: https://github.com/borisskert/ansible-golang.git
scm: git
- hosts: test_machine
become: yes
roles:
- role: install-golang
golang_version: 1.14.4
Requirements:
molecule test --all
I recommend to use pyenv for local testing. Within the Github Actions pipeline I use my molecule Docker image.
MIT