Install cargo only if pkg_cargo needs it
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
- name: Append du-dust to pkg_cargo
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
notify:
|
||||
- Depend cargo
|
||||
changed_when: true
|
||||
# notify:
|
||||
# - Depend cargo
|
||||
# changed_when: true
|
||||
ansible.builtin.set_fact:
|
||||
pkg_cargo: "{{ pkg_cargo + ['du-dust'] }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user