Install cargo only if pkg_cargo needs it
This commit is contained in:
@@ -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] }}"
|
||||
|
||||
Reference in New Issue
Block a user