forked from rc/classroom
Added initial packages
This commit is contained in:
parent
43abbf2093
commit
ed09d8d86c
15 changed files with 72 additions and 0 deletions
4
roles/rust/tasks/main.yml
Normal file
4
roles/rust/tasks/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_os_family == 'Windows'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
7
roles/rust/tasks/main_lin.yml
Normal file
7
roles/rust/tasks/main_lin.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
- name: Install rust tools
|
||||
apt:
|
||||
name:
|
||||
- rustc
|
||||
- cargo
|
||||
- rustfmt
|
||||
state: latest
|
||||
4
roles/rust/tasks/main_win.yml
Normal file
4
roles/rust/tasks/main_win.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
- name: Install rust
|
||||
win_chocolatey:
|
||||
name: rust
|
||||
state: latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue