https://github.com/trfore/ansible-role-go
Ansible role for installing Go language
https://github.com/trfore/ansible-role-go
ansible-role go golang
Last synced: 3 months ago
JSON representation
Ansible role for installing Go language
- Host: GitHub
- URL: https://github.com/trfore/ansible-role-go
- Owner: trfore
- License: apache-2.0
- Created: 2024-06-20T18:52:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T14:39:09.000Z (about 1 year ago)
- Last Synced: 2025-05-19T15:53:42.163Z (about 1 year ago)
- Topics: ansible-role, go, golang
- Homepage: https://galaxy.ansible.com/ui/standalone/roles/trfore/go/
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Ansible Role: GO
[](https://github.com/trfore/ansible-role-go/actions/workflows/ci.yml)
[](https://github.com/trfore/ansible-role-go/actions/workflows/cd.yml)
Install Go Language
## Install the Role
You can install this role with the Ansible Galaxy CLI:
```bash
ansible-galaxy role install trfore.go
```
You can also include it in a `requirements.yml` file and install it with
`ansible-galaxy role install -r requirements.yml`, using the format:
```yaml
---
roles:
- trfore.go
```
## Tested Platforms
- `ansible-core` 2.15, 2.16 & 2.17
- CentOS Stream 9
- Debian 12
- Ubuntu 22.04 & 24.04
## Role Variables
| Variable | Default | Description | Required |
| ------------ | -------- | ---------------------------------------------- | -------- |
| `go_version` | `latest` | String, role will download the latest version. | No |
## Example Playbook
```yaml
- hosts: servers
gather_facts: true
roles:
- name: Install Go Lang
role: trfore.go
```
## License
See [LICENSE](LICENSE) File
## Author Information
Taylor Fore ()
## References
-