Rust Roles
- ensure-rust
Install Rust
Install the Rust toolchain
Role Variables
-
ensure_rust_rustup
Default:True
Install Rust via the
rustup
installer. This installs the toolchain globally (for all users).
-
ensure_rust_rustup_toolchain
Default:stable
The Rust toolchain to install with
rustup
.
-
ensure_rust_rustup_path
Default:/opt/rust
Where to install Rust/Cargo with
rustup
. Wrappers will be installed in/usr/local/bin/
to make them available for all users.
-
ensure_rust_packages
Default:False
Install Rust via system packages. This role does not currently support package install.
-
ensure_rust_rustup