Skip to content

trfore/ansible-role-go

Repository files navigation

Ansible Role: GO

CI CD

Install Go Language

Install the Role

You can install this role with the Ansible Galaxy CLI:

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:

---
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

- hosts: servers
  gather_facts: true
  roles:
    - name: Install Go Lang
      role: trfore.go

License

See LICENSE File

Author Information

Taylor Fore (https://github.com/trfore)

References