organizing for go pkg installs

This commit is contained in:
Matthew Stobbs
2025-02-12 16:57:28 -07:00
parent a3df5215b8
commit c73ac46bc8
31 changed files with 431 additions and 396 deletions

View File

@@ -4,4 +4,4 @@
notify:
- Depend go
ansible.builtin.set_fact:
go_pkgs: "{{ go_pkgs + [air.pkg] }}"
go_pkgs: "{{ go_pkgs + [air] }}"

View File

@@ -1,5 +1,13 @@
# vim: set filetype=yaml.ansible :
---
- name: Append to pkgs
- name: Install from archive
when:
- prefer_archive
ansible.builtin.set_fact:
src_pkgs: "{{ src_pkgs + ['go'] }}"
archive_pkgs: "{{ archive_pkgs + ['go'] }}"
- name: Append to pkgs
when:
- not prefer_archive
ansible.builtin.set_fact:
sys_pkgs: "{{ src_pkgs + ['go'] }}"

View File

@@ -1,8 +1,5 @@
# vim: set filetype=yaml.ansible :
---
- ansible.builtin.set_fact:
nodejs: true
- name: append to pkgs
- name: Append to pkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + pkgconfig.nodejs.pkgs[ansible_system] }}"