File tree Expand file tree Collapse file tree
ansible/roles/developer_core/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 189189 environment : " {{ cargo_env }}"
190190 become : " {{ ansible_facts['distribution'] != 'MacOSX' }}"
191191 become_user : " {{ actual_user if ansible_facts['distribution'] != 'MacOSX' else omit }}"
192+
193+ # ============================================================
194+ # cargo-update: allows manual `cargo install-update -a` to
195+ # update all cargo-installed tools to latest versions
196+ # ============================================================
197+
198+ - name : Install cargo-update (for updating cargo tools)
199+ ansible.builtin.command :
200+ cmd : cargo install cargo-update
201+ creates : " {{ user_home }}/.cargo/bin/cargo-install-update"
202+ environment : " {{ cargo_env }}"
203+ become : " {{ ansible_facts['distribution'] != 'MacOSX' }}"
204+ become_user : " {{ actual_user if ansible_facts['distribution'] != 'MacOSX' else omit }}"
You can’t perform that action at this time.
0 commit comments