fixing formatting and dependencies
This commit is contained in:
@@ -3,16 +3,17 @@
|
||||
file: nushell.yml
|
||||
name: _nushell
|
||||
- ansible.builtin.set_fact:
|
||||
pkgconfig:
|
||||
nushell: "{{ _nushell | ansible.builtin.combine(pkgconfig.nushell) }}"
|
||||
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
|
||||
file: pkgs/rust.yml
|
||||
when: pkgconfig_rust not defined
|
||||
|
||||
- ansible.builtin.include_tasks:
|
||||
file: pkgs/carapace.yml
|
||||
when: pkgconfig_carapace not defined
|
||||
|
||||
- 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 }}"
|
||||
ansible.builtin.set_fact:
|
||||
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