update and fix multiple packages

This commit is contained in:
Matthew Stobbs
2025-01-25 16:07:24 -07:00
parent edba662878
commit 00e08c5997
27 changed files with 132 additions and 99 deletions

View File

@@ -2,16 +2,17 @@
- ansible.builtin.include_vars:
file: nushell.yml
name: _nushell
- ansible.builtin.set_fact:
pkgconfig:
nushell: "{{ _nushell | ansible.builtin.combine(pkgconfig.nushell) }}"
- ansible.builtin.include_tasks:
file: "pkgs/{{ dep }}.yml"
loop:
- rust
- carapace
loop: "{{ pkgconfig.nushell.deps }}"
loop_control:
loop_var: dep
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + _nushell[ansible_os_family].pkgdeps }}"
cargopkgs: "{{ cargopkgs + _nushell[ansible_os_family].nu_pkgs_list + _nushell.nu_plugins }}"
syspkgs: "{{ syspkgs + pkgsconfig.nushell.build_deps[ansible_os_family] }}"
cargopkgs: "{{ cargopkgs + pkgconfig.nushell.pkgs[ansible_os_family] + pkgconfig.nushell.pkgs_common }}"