rustup
hurricanehrndz.rustup
Install rust and user defined cargo crates via rustup using https://sh.rustup.rs
.
Role Variables
Variable Name | Default Value | Value Type | Description |
---|---|---|---|
rustup_user | root | string | Install rustup, and rust toolchain as defined value. |
rustup_home_suffix | .rustup | string | Install destination (~/ + suffix) |
rustup_cargo_home_suffix | .cargo | string | Install destination (~/ + suffix) |
rustup_cargo_crates | [fd-find, ripgrep] | Array | List of crates to install from cargo. |
rustup_configure_shell | true | Boolean | Adds {HOME/.cargo/bin} to user's PATH |
rustup_default_version | stable | string | Toolchain name, such as 'nightly' or '1.8.0' |
Example Playbook
- hosts: servers
roles:
- role: hurricanehrndz.rustup
License
Author Information
Install
ansible-galaxy install Zorlin/ansible-rustup
License
mit
Downloads
28
Owner
Developer, sysadmin, distributed storage and free culture person. Still figuring out the rest.