Files
ansible_role_package/tasks/cargo.yml
Matthew Stobbs 88e104f77c update cargo build
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
2025-05-12 11:38:37 -06:00

12 lines
358 B
YAML

# vim: set filetype=yaml.ansible
---
- name: Install cargo {{ pkg }}
become: "{{ ext_become }}"
environment:
RUSTONIG_SYSTEM_LIBONIG: 1
community.general.cargo:
name: "{{ pkg.name | default(pkg) }}"
version: "{{ pkg.vers | default(omit) }}"
path: "{{ path.cargo | default(path.prefix) }}"
locked: "{{ pkg.locked | default(omit) }}"