Skip to content

hurricanehrndz/ansible-rustup

Repository files navigation

hurricanehrndz.rustup

Build Status MIT licensed

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_default_version stable string Toolchain name, such as 'nightly' or '1.8.0'

Example Playbook

- hosts: servers
  roles:
    - role: hurricanehrndz.rustup

License

MIT

Author Information

Carlos Hernandez aka HurricaneHrndz