fubarhouse.rust

Ansible Role: Rust
- Install Rust from source (if set up to do so)
- Install Rust using the recommended installer
- Install cargo packages
- Support 20 Linux platforms, similar to Go and Node roles.
Requirements
- curl
- gcc
Role Variables
The version of Rust you want depends on the source installation.
rust_version: 1.31.0
By default, the role does not install from source.
build_rust_from_source: false
After the first installation, you can ensure the script updates Rust by setting:
rust_update: false
To keep a clean installation each time you run the playbook, you can use:
rust_install_clean: false
To make sure the role installs to your shell profiles, list them here:
shell_profiles:
- .bash_profile
You can also specify any cargo items to install using the cargo_items
array. The binary
property is optional; if you use it, the binary installation will be checked.
cargo_items:
- name: ripgrep
binary: rg
Installation
- Use
ansible-galaxy install fubarhouse.rust
to install - Add this role to your playbook.
- Change the variables above as needed.
License
MIT / BSD
Author Information
This role was created in 2017 by Karl Hepworth.
Informazioni sul progetto
Installs Rust and Cargo!
Installa
ansible-galaxy install fubarhouse.rust
Licenza
mit
Download
3.5k
Proprietario
Lover of all things open source and computers - both hardware and software. My opinions are my own.