Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-go
Ansible role - Go
https://github.com/geerlingguy/ansible-role-go
ansible ansible-role go golang
Last synced: 18 days ago
JSON representation
Ansible role - Go
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-go
- Owner: geerlingguy
- License: mit
- Created: 2021-12-01T21:31:05.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T19:22:13.000Z (4 months ago)
- Last Synced: 2024-10-10T04:06:32.024Z (about 1 month ago)
- Topics: ansible, ansible-role, go, golang
- Homepage: https://galaxy.ansible.com/geerlingguy/go
- Size: 13.7 KB
- Stars: 38
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: Go
[![CI](https://github.com/geerlingguy/ansible-role-go/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-go/actions?query=workflow%3ACI)
An Ansible Role that installs Go (the language) on Linux.
## Requirements
N/A
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
go_version: "1.17.3"
go_platform: linux
go_arch: amd64Version, platform, and architecture to use when downloading Go.
go_tarball: go{{ go_version }}.{{ go_platform }}-{{ go_arch }}.tar.gz
go_download_url: https://dl.google.com/go/{{ go_tarball }}These two variables are used to build the download URL when installing Go.
go_checksum: '550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c'
SHA256 checksum of the Go download. If changing the version, platform, or architecture, you will also need to update this checksum, too.
## Dependencies
None.
## Example Playbook
- hosts: myserver
roles:
- { role: geerlingguy.go }## License
MIT / BSD
## Author Information
This role was created in 2021 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).