Squash merge move_to_single_file_pkgs into main
This commit is contained in:
17
tasks/helpers/cargo.yml
Normal file
17
tasks/helpers/cargo.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
#
|
||||
## Helper: cargo.yml
|
||||
## Description: Install packages using the cargo command
|
||||
## Variables: top level 'dict'
|
||||
## name: package name on cargo
|
||||
## version: cargo version, omitted if empty
|
||||
## locked: _bool_, optional. Default false
|
||||
---
|
||||
- name: Install with cargo {{ pkg.name }}
|
||||
become: "{{ install_become }}"
|
||||
become_user: "{{ install_become_user }}"
|
||||
community.general.cargo:
|
||||
name: "{{ pkg.name }}"
|
||||
version: "{{ pkg.version | default(omit) }}"
|
||||
locked: "{{ pkg.locked | default(false) }}"
|
||||
path: "{{ install_prefix }}"
|
||||
Reference in New Issue
Block a user