markosamuli / ansible-rust

Ansible role for installing Rust for local development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

markosamuli.rust

This role downloads and runs the rustup-init.sh script from rustup.rs to install Rust.

It uses the Ansible built-in get_url module for downloading the script instead of cURL.

Do not run this role as root as it's intended for installing rust for a single user only.

Configuration

rustup will modify your shell profile files, but I prefer to keep my configuration in the rc files and manage with my dotfiles.

To avoid rustup-init from modifying path during install:

rust_modify_path: false

Example

- name: Install Rust
  hosts: localhost
  become: false
  roles:
  - role: markosamuli.rust
    tags: rust

License

Author Information

About

Ansible role for installing Rust for local development

License:MIT License