update and fix multiple packages
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user