27 lines
790 B
YAML
27 lines
790 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- 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/rust.yml
|
|
when: pkgconfig_rust is undefined
|
|
|
|
- ansible.builtin.include_tasks:
|
|
file: pkgs/carapace.yml
|
|
when: pkgconfig_carapace is undefined
|
|
|
|
- name: append to pkgs
|
|
ansible.builtin.set_fact:
|
|
syspkgs: "{{ syspkgs + pkgconfig_nushell.deps[ansible_os_family] }}"
|
|
cargopkgs: "{{ cargopkgs + pkgconfig_nushell.pkgs[ansible_os_family] }}"
|
|
|
|
- name: add nushell extras
|
|
ansible.builtin.set_fact:
|
|
cargopkgs: "{{ cargopkgs + pkgconfig_nushell.nupkgs_extra }}"
|
|
when:
|
|
pkgconfig_nushell.install_extra
|