A Ansible role for creating a Rust development environment.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
handlers
meta
tasks
tests
vars
.gitignore
.travis.yml
Makefile
README.md
Vagrantfile
ansible.cfg
docker-compose.yml
local.yml
requirements.yml
vagrant.yml

README.md

ansible-role-rust-dev Build Status

Installs and configures a Rust development environment for a given user using rustup.

Available on Ansible Galaxy at naftulikay.rust-dev.

Requirements

Officially tested operating systems are listed in the Galaxy manifest.

Role Variables

rust_version
Version of Rust to install. Optional.
rust_user
User to install Rust tools for. Required.

Dependencies

None.

Example Playbook

Here are some example playbooks to get started with.

Defaults

Simply get a Rust development environment installed:

---
- name: install
  hosts: all
  become: true
  roles:
    - role: rust-dev
      rust_user: vagrant

Install a Specific Version

Install a specific version of Rust:

---
  - name: install
    hosts: all
    become: true
    roles:
      - role: rust-dev
        rust_user: vagrant
        rust_version: 1.19.0

License

MIT