Files
ansible_role_package/tasks/build/nushell.yml
2025-02-09 18:24:38 -07:00

20 lines
398 B
YAML

# vim: set filetype=yaml.ansible :
---
- ansible.builtin.include_vars:
file: nushell.yml
name: _nushell
- name: install nushell via cargo
become: true
ansible.builtin.command:
cmd:
- cargo
- install
- --root
- "{{ _nushell.install_prefix }}"
- "{{ nuitem }}"
- --locked
loop_control:
loop_var: nuitem
loop: "{{ _nushell.nu_pkgs_list }}"