Files
ansible_role_package/tasks/helpers/go_install.yml
Matthew Stobbs e231c6ae7a updating documentation
- giving things a better structure
- better documentation with the way things need to be as a standard
2026-02-04 22:26:15 -07:00

18 lines
385 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Install go packages
become: "{{ install_become }}"
environment:
GOBIN: "{{ path_bin }}"
GOROOT: "{{ path_go }}"
PATH: "{{ path_go }}/bin:$PATH"
loop: pkg_go
loop_control:
loop_var: current
ansible.builtin.command:
creates: "{{ current.bin }}"
argv:
- go
- install
- "{{ current.url }}"