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 alacritty to pkg_cargo
when:
- alacritty.method == 'cargo'
notify:
- Depend cargo
changed_when: true
# notify:
# - Depend cargo
# changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + alacritty.build_deps }}"
pkg_cargo: "{{ pkg_cargo + [alacritty.cargo] }}"