reorganizing configuration

- static package configuration in `vars/pkgs`
  - loaded into the variable `pkgconfig` as part of `tasks/main.yml`
This commit is contained in:
Matthew Stobbs
2025-02-12 12:52:55 -07:00
parent 9250145116
commit a3df5215b8
23 changed files with 259 additions and 226 deletions

View File

@@ -1,9 +1,7 @@
# vim: set filetype=yaml.ansible :
---
- ansible.builtin.include_tasks:
file: pkgs/go.yml
when: pkgconfig_go is undefined
- name: add to gopkgs
- name: Add to go_pkgs
notify:
- Depend go
ansible.builtin.set_fact:
gopkgs: "{{ gopkgs + ['github.com/air-verse/air@latest'] }}"
go_pkgs: "{{ go_pkgs + [air.pkg] }}"