Squash merge move_to_single_file_pkgs into main

This commit is contained in:
Matthew Stobbs
2026-04-13 14:50:45 -06:00
parent ff740426c8
commit 8dc427f027
373 changed files with 3883 additions and 9963 deletions

17
tasks/helpers/cargo.yml Normal file
View 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 }}"