Added ubuntu setup
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
11
roles/ubuntu/tasks/rust.yml
Normal file
11
roles/ubuntu/tasks/rust.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Install Rust (via rustup)
|
||||
ansible.builtin.shell: yes | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs
|
||||
args:
|
||||
creates: "{{ ansible_env.HOME }}/.cargo/bin/rustc"
|
||||
|
||||
- name: Install bininstall
|
||||
ansible.builtin.shell: yes | curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh
|
||||
|
||||
- name: Install bininstall
|
||||
ansible.builtin.shell: yes | cargo binstall dioxus-cli
|
||||
Reference in New Issue
Block a user