packages are more generic

- if config is needed, it has a file in vars/
- all imported vars for pkgs are namespaced with _<pkgname>
This commit is contained in:
Matthew Stobbs
2025-01-23 00:29:58 -07:00
parent 6fa5a46701
commit 0f2d22f3c5
76 changed files with 277 additions and 594 deletions

View File

@@ -3,18 +3,13 @@
file: nushell.yml
name: _nushell
- name: install macOS dependencies
set_fact:
nushell_pkgdeps:
- cargo
- libxcb
- openssl-devel
- libX11-devel
nushell_altdeps:
- build/nushell.yml
- "pkgs/{{ ansible_os_family }}/carapace.yml"
- ansible.builtin.include_tasks:
file: "pkgs/{{ dep }}.yml"
loop:
- rust
- carapace
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + nushell_pkgdeps }}"
srcpkgs: "{{ srcpkgs + nushell_altdeps }}"
syspkgs: "{{ syspkgs + _nushell[ansible_os_family].pkgdeps }}"
cargopkgs: "{{ cargopkgs + _nushell[ansible_os_family].nu_pkgs_list + _nushell.nu_plugins }}"