Files
ansible_role_package/tasks/pkgs/nushell.yml
2025-01-25 16:07:24 -07:00

19 lines
560 B
YAML

---
- 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: "{{ pkgconfig.nushell.deps }}"
loop_control:
loop_var: dep
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + pkgsconfig.nushell.build_deps[ansible_os_family] }}"
cargopkgs: "{{ cargopkgs + pkgconfig.nushell.pkgs[ansible_os_family] + pkgconfig.nushell.pkgs_common }}"