Squash merge move_to_single_file_pkgs into main

This commit is contained in:
Matthew Stobbs
2026-04-13 14:50:45 -06:00
parent ff740426c8
commit 8dc427f027
373 changed files with 3883 additions and 9963 deletions

View File

@@ -0,0 +1,20 @@
# vim: set filetype=yaml.ansible :
---
- name: Clean existing go package {{ pkg.bin }}
vars:
files: "{{ pkg.files | default([]) }}"
ansible.builtin.include_tasks: helpers/clean_install.yml
- name: Install go package "{{ pkg.url }}"
become: "{{ install_become }}"
become_user: "{{ install_become_user }}"
environment:
GOBIN: "{{ path_bin }}"
GOROOT: "{{ path_go }}"
PATH: "{{ path_go }}/bin:$PATH"
ansible.builtin.command:
creates: "{{ pkg.bin }}"
argv:
- go
- install
- "{{ pkg.url }}"