Install cargo only if pkg_cargo needs it

This commit is contained in:
Matthew Stobbs
2025-05-10 12:55:10 -06:00
parent 7183372163
commit 454f2fab73
20 changed files with 117 additions and 109 deletions

View File

@@ -11,9 +11,9 @@
- name: Append broot to pkg_sys and pkg_cargo
when:
- ansible_system == 'Linux'
notify:
- Depend cargo
changed_when: true
# notify:
# - Depend cargo
# changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + broot.deps }}"
pkg_cargo: "{{ pkg_cargo + [broot] }}"