Initial commit erasing history

This commit is contained in:
polz 2024-06-01 00:49:52 +02:00
parent e04f86fd9a
commit 7d8751ffe8
712 changed files with 7348 additions and 0 deletions

View file

@ -0,0 +1,4 @@
- import_tasks: main_win.yml
when: ansible_connection == 'winrm'
- import_tasks: main_lin.yml
when: ansible_connection == 'ssh'

View 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

View 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'