zorlin.rust

Ansible Role: Rust
- Install Rust from source (if set up)
- Install Rust using the recommended installer
- Install cargo packages
- Support for 20 Linux platforms, similar to the Go and Node roles.
Requirements
- curl
- gcc
Role Variables
The Rust version for source installation:
rust_version: 1.31.0
By default, the role will not install from source.
build_rust_from_source: false
After the initial installation, you can ensure Rust is updated using:
rust_update: false
To ensure a fresh installation each time you run your playbook, use:
rust_install_clean: false
To make sure the role installs in your shell profiles, specify them:
shell_profiles:
- .bash_profile
To install any cargo packages, use the cargo_items
array. The binary
property is optional, and if included, it will check the binary installation.
cargo_items:
- name: ripgrep
binary: rg
Installation
- Install using
ansible-galaxy install fubarhouse.rust
- Add this role to your playbook.
- Modify the above variables as needed.
License
MIT / BSD
Author Information
This role was created in 2017 by Karl Hepworth.
Informazioni sul progetto
Installs Rust and Cargo! (Fork of work by Karl Hepworth)
Installa
ansible-galaxy install zorlin.rust
Licenza
mit
Download
267
Proprietario
Developer, sysadmin, distributed storage and free culture person. Still figuring out the rest.