Initial commit erasing history
This commit is contained in:
parent
e04f86fd9a
commit
7d8751ffe8
712 changed files with 7348 additions and 0 deletions
4
roles/sifive/tasks/main.yml
Normal file
4
roles/sifive/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_connection == 'winrm'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_connection == 'ssh'
|
23
roles/sifive/tasks/main_lin.yml
Normal file
23
roles/sifive/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
# SiFive je bil nekoc prosto dostopen.
|
||||
# Sedaj hocejo, da se registriras... da prides do kode
|
||||
# Potem pa ti ne dajo izvorne kode.
|
||||
# ucilnice_install/2022-23/ORS_VGRS_Bulic
|
||||
#
|
||||
#
|
||||
- name: create destination for SiFive
|
||||
file:
|
||||
path: /opt/SiFive
|
||||
state: directory
|
||||
|
||||
- name: Download SiFive Studio
|
||||
command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/bulic_fri1_uni-lj_si/ERb-TvMrILpIpFYT6n9u1WYB-gkBMh5SnM3_xSFgsFAFtA?e=2BSN8F&download=1" -O /opt/sifive.tgz
|
||||
args:
|
||||
creates: /opt/sifive.tgz
|
||||
|
||||
- name: "Install SiFive Studio"
|
||||
unarchive:
|
||||
src: /opt/sifive.tgz
|
||||
dest: /opt/SiFive
|
||||
# dest: /opt/SiFive
|
||||
remote_src: yes
|
||||
|
25
roles/sifive/tasks/main_win.yml
Normal file
25
roles/sifive/tasks/main_win.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
# SiFive je bil nekoc prosto dostopen.
|
||||
# Sedaj hocejo, da se registriras... da prides do kode
|
||||
# Potem pa ti ne dajo izvorne kode.
|
||||
# ucilnice_install/2022-23/ORS_VGRS_Bulic
|
||||
|
||||
- name: Set SiFive Studio install location
|
||||
set_fact:
|
||||
download_filedest: C:\FreedomStudio-4.18.0.2021-04-1-x86_64-w64-mingw32.zip
|
||||
- name: Download SiFive
|
||||
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/bulic_fri1_uni-lj_si/EdiSnJpoClJLtc3AtcAtEQ4BI76_PeDvL-ZmhxG4OEyvig?e=xBRYcb&download=1" -O "{{ download_filedest }}"
|
||||
args:
|
||||
creates: "{{ download_filedest }}"
|
||||
|
||||
- name: Unzip SiFive Studio
|
||||
win_unzip:
|
||||
src: "{{ download_filedest }}"
|
||||
dest: C:\SiFive\
|
||||
creates: C:\SiFive\plugins
|
||||
delete_archive: yes
|
||||
|
||||
- name: Create desktop shortcut
|
||||
win_shortcut:
|
||||
description: "SiFive Freedom Studio"
|
||||
src: C:\SiFive\FreedomStudio.exe
|
||||
dest: '%public%\Desktop\SiFive.lnk'
|
Loading…
Add table
Add a link
Reference in a new issue