geerlingguy.go

Ansible Role: Go

CI

This is an Ansible Role that installs Go (the programming language) on Linux.

Requirements

None

Role Variables

Here are the variables you can use, along with their default values (see defaults/main.yml):

  • go_version: "1.17.3"
    The version of Go you want to install.

  • go_platform: linux
    The platform you're installing Go on (e.g., Linux).

  • go_arch: amd64
    The architecture of your system (e.g., 64-bit).

These variables are used for downloading Go.

  • go_tarball: go{{ go_version }}.{{ go_platform }}-{{ go_arch }}.tar.gz
    The name of the Go tarball file.

  • go_download_url: https://dl.google.com/go/{{ go_tarball }}
    The URL to download Go from.

  • go_checksum: '550f9845451c0c94be679faf116291e7807a8d78b43149f9506c1b15eb89008c'
    The SHA256 checksum for the Go download. Update this if you change the version, platform, or architecture.

Dependencies

None.

Example Playbook

Here's an example of how to use this role in your playbook:

- hosts: myserver
  roles:
    - { role: geerlingguy.go }

License

MIT / BSD

Author Information

This role was created in 2021 by Jeff Geerling, the author of Ansible for DevOps.

Informazioni sul progetto

Go (language) installation for Linux.

Installa
ansible-galaxy install geerlingguy.go
Licenza
mit
Download
19.5k
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns