fix packages

This commit is contained in:
Matthew Stobbs
2025-02-22 14:59:18 -07:00
parent 2d825d855d
commit d1e8957f94
47 changed files with 166 additions and 129 deletions

View File

@@ -3,7 +3,8 @@
- name: Set go configuration
ansible.builtin.set_fact:
go:
arch: "{{ pkgconfig_go.archmap[ansible_architecture] }}"
method: archive
arch: "{{ pkgconfig.go.archmap[ansible_architecture] }}"
ext: "{{ pkgconfig.go.extmap[ansible_system] }}"
sys: "{{ ansible_system | lower }}"
vers: "{{ pkgconfig.go.version }}"
@@ -11,11 +12,12 @@
- name: Set go composite facts
ansible.builtin.set_fact:
go:
method: archive
arch: "{{ go.arch }}"
archive: "go{{ go.ver }}.{{ go.sys }}-{{ go.arch }}.{{ pkgconfig_go.extmap[ansible_system] }}"
archive: "go{{ go.vers }}.{{ go.sys }}-{{ go.arch }}.{{ pkgconfig.go.extmap[ansible_system] }}"
ext: "{{ go.ext }}"
inst_path: "{{ path.install }}/go"
inst_path: "{{ path.prefix }}"
sum: "{{ pkgconfig.go.sums[go.vers][ansible_system][go.arch] }}"
sys: "{{ go.sys }}"
url: "{{ pkgconfig.go.base_url }}/{{ go.archive }}"
base_url: "{{ pkgconfig.go.base_url }}"
vers: "{{ go.vers }}"