From 440e226d38e1040c4a2df1d84e0e399c2c29aaf8 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 25 Sep 2022 10:35:45 +0000 Subject: [PATCH] Style Windows tasks after linroom --- roles/classroom/tasks/logisim.yml | 9 --- roles/classroom/tasks/main.yml | 32 ----------- roles/classroom/tasks/openjdk.yml | 14 ----- roles/{classroom => winroom}/tasks/7zip.yml | 0 roles/winroom/tasks/AAHRP-63263.yml | 6 ++ roles/winroom/tasks/APS1-63279.yml | 6 ++ roles/winroom/tasks/ARP1-63545C.yml | 4 ++ roles/winroom/tasks/Android_Studio.yml | 50 ++++++++++++++++ roles/winroom/tasks/BMO-63259.yml | 5 ++ roles/winroom/tasks/DF-63530.yml | 5 ++ roles/winroom/tasks/DN-63260.yml | 4 ++ roles/winroom/tasks/DPS-63744.yml | 7 +++ roles/winroom/tasks/DV-63718.yml | 4 ++ roles/winroom/tasks/EP-63249.yml | 6 ++ roles/winroom/tasks/Eclipse.yml | 14 +++++ roles/winroom/tasks/FP-63507.yml | 11 ++++ roles/winroom/tasks/GNS3.yml | 27 +++++++++ roles/winroom/tasks/GO-63715.yml | 9 +++ roles/winroom/tasks/GUI_development.yml | 1 + roles/winroom/tasks/IDEA.yml | 9 +++ roles/winroom/tasks/IS-63714.yml | 10 ++++ roles/winroom/tasks/IVZ-63521.yml | 6 ++ roles/winroom/tasks/JDK.yml | 29 ++++++++++ roles/winroom/tasks/KCR-63550.yml | 7 +++ roles/winroom/tasks/KPOV-63716.yml | 5 ++ roles/winroom/tasks/KRV-63528.yml | 7 +++ roles/winroom/tasks/MRO-63257.yml | 4 ++ roles/winroom/tasks/MV-63288.yml | 9 +++ roles/winroom/tasks/NDN-63729.yml | 7 +++ roles/winroom/tasks/NM-63522.yml | 5 ++ roles/winroom/tasks/NPMP-63512.yml | 5 ++ roles/winroom/tasks/NRG-63553.yml | 5 ++ roles/winroom/tasks/OBSS-63514.yml | 5 ++ roles/winroom/tasks/ODV-63204.yml | 4 ++ roles/winroom/tasks/OO-63271.yml | 8 +++ roles/winroom/tasks/OR-63717.yml | 9 +++ roles/winroom/tasks/OS-63709.yml | 4 ++ roles/winroom/tasks/OS-63741.yml | 3 + roles/winroom/tasks/OUI-63214.yml | 7 +++ roles/winroom/tasks/P2-63706.yml | 7 +++ roles/winroom/tasks/PA-63737.yml | 5 ++ roles/winroom/tasks/PB-63707.yml | 11 ++++ roles/winroom/tasks/PB2-63713.yml | 7 +++ roles/winroom/tasks/PJC-63769.yml | 5 ++ roles/winroom/tasks/PPJ-63220.yml | 10 ++++ roles/winroom/tasks/PS-63261.yml | 4 ++ roles/winroom/tasks/PSP-63287.yml | 6 ++ roles/winroom/tasks/PUI-63768.yml | 4 ++ roles/winroom/tasks/RA-63703.yml | 7 +++ roles/winroom/tasks/RGTI-63269.yml | 4 ++ roles/winroom/tasks/RIS-63252.yml | 4 ++ roles/winroom/tasks/RK-63209.yml | 9 +++ roles/winroom/tasks/RK-63708.yml | 9 +++ roles/winroom/tasks/RPOI-90066.yml | 6 ++ roles/winroom/tasks/RZP-63523.yml | 7 +++ roles/winroom/tasks/ST-63727.yml | 5 ++ roles/winroom/tasks/SU-63519.yml | 4 ++ roles/winroom/tasks/TINR-63740.yml | 3 + roles/winroom/tasks/TIS-63216.yml | 4 ++ roles/winroom/tasks/TUP-63226.yml | 12 ++++ roles/winroom/tasks/UI-63720.yml | 4 ++ roles/winroom/tasks/UV-63721.yml | 7 +++ roles/winroom/tasks/UZ-63267.yml | 3 + roles/winroom/tasks/VN-63728.yml | 7 +++ roles/winroom/tasks/VPSA-63735.yml | 5 ++ roles/winroom/tasks/VZR-63543.yml | 4 ++ .../xampp.yml => winroom/tasks/XAMPP.yml} | 0 roles/winroom/tasks/adobe_cs.yml | 1 + roles/winroom/tasks/arduino.yml | 27 +++++++++ .../{classroom => winroom}/tasks/audacity.yml | 0 roles/winroom/tasks/bayesfusion.yml | 1 + .../{classroom => winroom}/tasks/blender.yml | 0 roles/{classroom => winroom}/tasks/chrome.yml | 0 roles/winroom/tasks/docker.yml | 1 + roles/winroom/tasks/dotnet6.yml | 3 + roles/{classroom => winroom}/tasks/emacs.yml | 0 .../{classroom => winroom}/tasks/firefox.yml | 0 roles/{classroom => winroom}/tasks/gimp.yml | 0 roles/{classroom => winroom}/tasks/git.yml | 0 roles/winroom/tasks/haskell.yml | 25 ++++++++ .../{classroom => winroom}/tasks/inkscape.yml | 0 roles/winroom/tasks/javafx.yml | 1 + roles/winroom/tasks/julia.yml | 4 ++ roles/winroom/tasks/jupyter.yml | 8 +++ roles/winroom/tasks/libreoffice.yml | 3 + roles/winroom/tasks/logisim.yml | 19 +++++++ roles/winroom/tasks/ltspice.yml | 1 + roles/winroom/tasks/main.yml | 57 +++++++++++++++++++ roles/winroom/tasks/matlab.yml | 1 + roles/winroom/tasks/msys2.yml | 37 ++++++++++++ .../tasks/mysql-odbc-connector.yml | 0 roles/winroom/tasks/mysql_workbench.yml | 3 + .../{classroom => winroom}/tasks/netbeans.yml | 0 .../tasks/notepad++.yml | 0 roles/winroom/tasks/ocaml.yml | 31 ++++++++++ roles/{classroom => winroom}/tasks/octave.yml | 0 roles/winroom/tasks/omnetpp.yml | 1 + roles/winroom/tasks/openssl.yml | 4 ++ roles/{classroom => winroom}/tasks/orange.yml | 0 .../{classroom => winroom}/tasks/pelles-c.yml | 1 - roles/winroom/tasks/powerdesigner.yml | 1 + .../tasks/processing.yml | 0 roles/winroom/tasks/projectlibre.yml | 4 ++ .../{classroom => winroom}/tasks/pycharm.yml | 0 .../python.yml => winroom/tasks/python3.yml} | 0 roles/winroom/tasks/qcadesigner-e.yml | 1 + roles/{classroom => winroom}/tasks/racket.yml | 0 .../{classroom => winroom}/tasks/rstudio.yml | 50 ++++++++-------- roles/winroom/tasks/sagemath.yml | 1 + roles/{classroom => winroom}/tasks/smlnj.yml | 0 roles/winroom/tasks/stm32cube.yml | 23 ++++++++ .../tasks/swi-prolog.yml | 0 roles/{classroom => winroom}/tasks/thonny.yml | 1 - roles/winroom/tasks/unity.yml | 8 +++ roles/winroom/tasks/util.yml | 6 ++ .../tasks/virtualbox.yml | 0 roles/winroom/tasks/visual2.yml | 32 +++++++++++ roles/winroom/tasks/visual_studio.yml | 3 + roles/winroom/tasks/vivado.yml | 1 + roles/winroom/tasks/vlc.yml | 3 + .../tasks/vmware_player.yml} | 0 roles/winroom/tasks/vscode.yml | 9 +++ roles/{classroom => winroom}/tasks/weka.yml | 0 roles/winroom/tasks/wfdb.yml | 1 + roles/winroom/tasks/winidea.yml | 33 +++++++++++ .../tasks/wireshark.yml | 0 setup.yml | 2 +- 127 files changed, 849 insertions(+), 84 deletions(-) delete mode 100644 roles/classroom/tasks/logisim.yml delete mode 100644 roles/classroom/tasks/main.yml delete mode 100644 roles/classroom/tasks/openjdk.yml rename roles/{classroom => winroom}/tasks/7zip.yml (100%) create mode 100644 roles/winroom/tasks/AAHRP-63263.yml create mode 100644 roles/winroom/tasks/APS1-63279.yml create mode 100644 roles/winroom/tasks/ARP1-63545C.yml create mode 100644 roles/winroom/tasks/Android_Studio.yml create mode 100644 roles/winroom/tasks/BMO-63259.yml create mode 100644 roles/winroom/tasks/DF-63530.yml create mode 100644 roles/winroom/tasks/DN-63260.yml create mode 100644 roles/winroom/tasks/DPS-63744.yml create mode 100644 roles/winroom/tasks/DV-63718.yml create mode 100644 roles/winroom/tasks/EP-63249.yml create mode 100644 roles/winroom/tasks/Eclipse.yml create mode 100644 roles/winroom/tasks/FP-63507.yml create mode 100644 roles/winroom/tasks/GNS3.yml create mode 100644 roles/winroom/tasks/GO-63715.yml create mode 100644 roles/winroom/tasks/GUI_development.yml create mode 100644 roles/winroom/tasks/IDEA.yml create mode 100644 roles/winroom/tasks/IS-63714.yml create mode 100644 roles/winroom/tasks/IVZ-63521.yml create mode 100644 roles/winroom/tasks/JDK.yml create mode 100644 roles/winroom/tasks/KCR-63550.yml create mode 100644 roles/winroom/tasks/KPOV-63716.yml create mode 100644 roles/winroom/tasks/KRV-63528.yml create mode 100644 roles/winroom/tasks/MRO-63257.yml create mode 100644 roles/winroom/tasks/MV-63288.yml create mode 100644 roles/winroom/tasks/NDN-63729.yml create mode 100644 roles/winroom/tasks/NM-63522.yml create mode 100644 roles/winroom/tasks/NPMP-63512.yml create mode 100644 roles/winroom/tasks/NRG-63553.yml create mode 100644 roles/winroom/tasks/OBSS-63514.yml create mode 100644 roles/winroom/tasks/ODV-63204.yml create mode 100644 roles/winroom/tasks/OO-63271.yml create mode 100644 roles/winroom/tasks/OR-63717.yml create mode 100644 roles/winroom/tasks/OS-63709.yml create mode 100644 roles/winroom/tasks/OS-63741.yml create mode 100644 roles/winroom/tasks/OUI-63214.yml create mode 100644 roles/winroom/tasks/P2-63706.yml create mode 100644 roles/winroom/tasks/PA-63737.yml create mode 100644 roles/winroom/tasks/PB-63707.yml create mode 100644 roles/winroom/tasks/PB2-63713.yml create mode 100644 roles/winroom/tasks/PJC-63769.yml create mode 100644 roles/winroom/tasks/PPJ-63220.yml create mode 100644 roles/winroom/tasks/PS-63261.yml create mode 100644 roles/winroom/tasks/PSP-63287.yml create mode 100644 roles/winroom/tasks/PUI-63768.yml create mode 100644 roles/winroom/tasks/RA-63703.yml create mode 100644 roles/winroom/tasks/RGTI-63269.yml create mode 100644 roles/winroom/tasks/RIS-63252.yml create mode 100644 roles/winroom/tasks/RK-63209.yml create mode 100644 roles/winroom/tasks/RK-63708.yml create mode 100644 roles/winroom/tasks/RPOI-90066.yml create mode 100644 roles/winroom/tasks/RZP-63523.yml create mode 100644 roles/winroom/tasks/ST-63727.yml create mode 100644 roles/winroom/tasks/SU-63519.yml create mode 100644 roles/winroom/tasks/TINR-63740.yml create mode 100644 roles/winroom/tasks/TIS-63216.yml create mode 100644 roles/winroom/tasks/TUP-63226.yml create mode 100644 roles/winroom/tasks/UI-63720.yml create mode 100644 roles/winroom/tasks/UV-63721.yml create mode 100644 roles/winroom/tasks/UZ-63267.yml create mode 100644 roles/winroom/tasks/VN-63728.yml create mode 100644 roles/winroom/tasks/VPSA-63735.yml create mode 100644 roles/winroom/tasks/VZR-63543.yml rename roles/{classroom/tasks/xampp.yml => winroom/tasks/XAMPP.yml} (100%) create mode 100644 roles/winroom/tasks/adobe_cs.yml create mode 100644 roles/winroom/tasks/arduino.yml rename roles/{classroom => winroom}/tasks/audacity.yml (100%) create mode 100644 roles/winroom/tasks/bayesfusion.yml rename roles/{classroom => winroom}/tasks/blender.yml (100%) rename roles/{classroom => winroom}/tasks/chrome.yml (100%) create mode 100644 roles/winroom/tasks/docker.yml create mode 100644 roles/winroom/tasks/dotnet6.yml rename roles/{classroom => winroom}/tasks/emacs.yml (100%) rename roles/{classroom => winroom}/tasks/firefox.yml (100%) rename roles/{classroom => winroom}/tasks/gimp.yml (100%) rename roles/{classroom => winroom}/tasks/git.yml (100%) create mode 100644 roles/winroom/tasks/haskell.yml rename roles/{classroom => winroom}/tasks/inkscape.yml (100%) create mode 100644 roles/winroom/tasks/javafx.yml create mode 100644 roles/winroom/tasks/julia.yml create mode 100644 roles/winroom/tasks/jupyter.yml create mode 100644 roles/winroom/tasks/libreoffice.yml create mode 100644 roles/winroom/tasks/logisim.yml create mode 100644 roles/winroom/tasks/ltspice.yml create mode 100644 roles/winroom/tasks/main.yml create mode 100644 roles/winroom/tasks/matlab.yml create mode 100644 roles/winroom/tasks/msys2.yml rename roles/{classroom => winroom}/tasks/mysql-odbc-connector.yml (100%) create mode 100644 roles/winroom/tasks/mysql_workbench.yml rename roles/{classroom => winroom}/tasks/netbeans.yml (100%) rename roles/{classroom => winroom}/tasks/notepad++.yml (100%) create mode 100644 roles/winroom/tasks/ocaml.yml rename roles/{classroom => winroom}/tasks/octave.yml (100%) create mode 100644 roles/winroom/tasks/omnetpp.yml create mode 100644 roles/winroom/tasks/openssl.yml rename roles/{classroom => winroom}/tasks/orange.yml (100%) rename roles/{classroom => winroom}/tasks/pelles-c.yml (92%) create mode 100644 roles/winroom/tasks/powerdesigner.yml rename roles/{classroom => winroom}/tasks/processing.yml (100%) create mode 100644 roles/winroom/tasks/projectlibre.yml rename roles/{classroom => winroom}/tasks/pycharm.yml (100%) rename roles/{classroom/tasks/python.yml => winroom/tasks/python3.yml} (100%) create mode 100644 roles/winroom/tasks/qcadesigner-e.yml rename roles/{classroom => winroom}/tasks/racket.yml (100%) rename roles/{classroom => winroom}/tasks/rstudio.yml (71%) create mode 100644 roles/winroom/tasks/sagemath.yml rename roles/{classroom => winroom}/tasks/smlnj.yml (100%) create mode 100644 roles/winroom/tasks/stm32cube.yml rename roles/{classroom => winroom}/tasks/swi-prolog.yml (100%) rename roles/{classroom => winroom}/tasks/thonny.yml (92%) create mode 100644 roles/winroom/tasks/unity.yml create mode 100644 roles/winroom/tasks/util.yml rename roles/{classroom => winroom}/tasks/virtualbox.yml (100%) create mode 100644 roles/winroom/tasks/visual2.yml create mode 100644 roles/winroom/tasks/visual_studio.yml create mode 100644 roles/winroom/tasks/vivado.yml create mode 100644 roles/winroom/tasks/vlc.yml rename roles/{classroom/tasks/vmware-player.yml => winroom/tasks/vmware_player.yml} (100%) create mode 100644 roles/winroom/tasks/vscode.yml rename roles/{classroom => winroom}/tasks/weka.yml (100%) create mode 100644 roles/winroom/tasks/wfdb.yml create mode 100644 roles/winroom/tasks/winidea.yml rename roles/{classroom => winroom}/tasks/wireshark.yml (100%) diff --git a/roles/classroom/tasks/logisim.yml b/roles/classroom/tasks/logisim.yml deleted file mode 100644 index 4d62e32..0000000 --- a/roles/classroom/tasks/logisim.yml +++ /dev/null @@ -1,9 +0,0 @@ -# chocolatey package is broken -- name: Set Logisim version - set_fact: - target_version: "3.7.2" - -- name: Install Logisim - win_package: - path: https://github.com/logisim-evolution/logisim-evolution/releases/download/v{{ target_version }}/logisim-evolution-{{ target_version }}.msi - product_id: b30fa00c-da3f-3769-aaea-6571cacf5c30 diff --git a/roles/classroom/tasks/main.yml b/roles/classroom/tasks/main.yml deleted file mode 100644 index 262f3db..0000000 --- a/roles/classroom/tasks/main.yml +++ /dev/null @@ -1,32 +0,0 @@ -# must come before netbeans -- import_tasks: openjdk.yml - -- import_tasks: 7zip.yml -- import_tasks: audacity.yml -- import_tasks: blender.yml -- import_tasks: chrome.yml -- import_tasks: emacs.yml -- import_tasks: firefox.yml -- import_tasks: gimp.yml -- import_tasks: git.yml -- import_tasks: inkscape.yml -- import_tasks: logisim.yml -- import_tasks: mysql-odbc-connector.yml -- import_tasks: netbeans.yml -- import_tasks: notepad++.yml -- import_tasks: octave.yml -- import_tasks: orange.yml -- import_tasks: pelles-c.yml -- import_tasks: processing.yml -- import_tasks: pycharm.yml -- import_tasks: python.yml -- import_tasks: racket.yml -- import_tasks: rstudio.yml -- import_tasks: smlnj.yml -- import_tasks: swi-prolog.yml -- import_tasks: thonny.yml -- import_tasks: virtualbox.yml -- import_tasks: vmware-player.yml -- import_tasks: weka.yml -- import_tasks: wireshark.yml -- import_tasks: xampp.yml diff --git a/roles/classroom/tasks/openjdk.yml b/roles/classroom/tasks/openjdk.yml deleted file mode 100644 index 4d74a8a..0000000 --- a/roles/classroom/tasks/openjdk.yml +++ /dev/null @@ -1,14 +0,0 @@ -- name: Set OpenJDK version - set_fact: - target_version: "19.0.0" - -- name: Install OpenJDK - win_chocolatey: - name: openjdk - version: "{{ target_version }}" - -- name: Set JAVA_HOME - win_environment: - name: JAVA_HOME - value: "C:\\Program Files\\OpenJDK\\jdk-{{ target_version | regex_search('\\d+') }}" - level: machine diff --git a/roles/classroom/tasks/7zip.yml b/roles/winroom/tasks/7zip.yml similarity index 100% rename from roles/classroom/tasks/7zip.yml rename to roles/winroom/tasks/7zip.yml diff --git a/roles/winroom/tasks/AAHRP-63263.yml b/roles/winroom/tasks/AAHRP-63263.yml new file mode 100644 index 0000000..4bab28f --- /dev/null +++ b/roles/winroom/tasks/AAHRP-63263.yml @@ -0,0 +1,6 @@ +# Analiza algoritmov in hevristično reševanje problemov +# matej.piculin@fri.uni-lj.si +# Windows, Java JDK, Eclipse, R, RStudio +- include_tasks: rstudio.yml +- include_tasks: Eclipse.yml +- include_tasks: JDK.yml diff --git a/roles/winroom/tasks/APS1-63279.yml b/roles/winroom/tasks/APS1-63279.yml new file mode 100644 index 0000000..2ae0064 --- /dev/null +++ b/roles/winroom/tasks/APS1-63279.yml @@ -0,0 +1,6 @@ +# Algoritmi in podatkovne strukture 1 +# bojan.zunkovic@fri.uni-lj.si, Petar.Vracar@fri.uni-lj.si +# Windows, Java JDK, Eclipse +- include_tasks: JDK.yml +# - include_tasks: OracleJDK.yml +- include_tasks: Eclipse.yml diff --git a/roles/winroom/tasks/ARP1-63545C.yml b/roles/winroom/tasks/ARP1-63545C.yml new file mode 100644 index 0000000..006c924 --- /dev/null +++ b/roles/winroom/tasks/ARP1-63545C.yml @@ -0,0 +1,4 @@ +# Aktualno raziskovalno področje 1 +# Veljko.Pejovic@fri.uni-lj.si +# Android Studio +- include_tasks: Android_Studio.yml diff --git a/roles/winroom/tasks/Android_Studio.yml b/roles/winroom/tasks/Android_Studio.yml new file mode 100644 index 0000000..d4a0f0d --- /dev/null +++ b/roles/winroom/tasks/Android_Studio.yml @@ -0,0 +1,50 @@ +- name: Set Android Studio version + set_fact: + sdk_path: C:\android-sdk + studio_version: "2021.3.1.16" + tools_version: "8512546_latest" + +- name: Check Android Studio tools + win_stat: + path: "{{ sdk_path }}\\cmdline-tools\\cmdline-tools\\bin\\sdkmanager.bat" + register: tools + +- when: not tools.stat.exists + block: + - name: Download Android Studio tools + win_get_url: + url: "https://dl.google.com/android/repository/commandlinetools-win-{{ tools_version }}.zip" + dest: C:\ + + - name: Extract Android Studio tools + win_unzip: + src: "C:\\commandlinetools-win-{{ tools_version }}.zip" + dest: "{{ sdk_path }}\\cmdline-tools" + delete_archive: yes + +- name: Accept Android SDK licenses + win_shell: sh -c "yes | /c/android-sdk/cmdline-tools/cmdline-tools/bin/sdkmanager.bat --licenses" + +- name: Install Android SDK + win_shell: | + {{ sdk_path }}\\cmdline-tools\\cmdline-tools\\bin\\sdkmanager --install "build-tools;33.0.0" "cmdline-tools;latest" "emulator" "ndk-bundle" "ndk;25.1.8937393" "platform-tools" "platforms;android-33" "sources;android-33" "system-images;android-33;google_apis;arm64-v8a" "system-images;android-33;google_apis;x86_64" + +- name: Install Android Studio + win_package: + path: "https://redirector.gvt1.com/edgedl/android/studio/install/{{ studio_version }}/android-studio-{{ studio_version }}-windows.exe" + arguments: /S /AllUsers + expected_return_code: [0, 1223, 3010] + creates_path: "%ProgramFiles%\\Android\\Android Studio\\bin\\studio64.exe" + +- name: Create Android Studio data directory + win_file: + path: D:\.android + state: directory + +- name: Set Android Studio environment variables + win_environment: + level: machine + variables: + ANDROID_HOME: "{{ sdk_path }}" + ANDROID_PREFS_ROOT: D:\ + GRADLE_USER_HOME: D:\.gradle diff --git a/roles/winroom/tasks/BMO-63259.yml b/roles/winroom/tasks/BMO-63259.yml new file mode 100644 index 0000000..10c9e00 --- /dev/null +++ b/roles/winroom/tasks/BMO-63259.yml @@ -0,0 +1,5 @@ +# Brezžična in mobilna omrežja +# Ziga.Pusnik@fri.uni-lj.si, Miran.Koprivec@fri.uni-lj.si +# Windows, VMware Workstation 16.2.4 Player, wireshark +- include_tasks: wireshark.yml +- include_tasks: vmware_player.yml diff --git a/roles/winroom/tasks/DF-63530.yml b/roles/winroom/tasks/DF-63530.yml new file mode 100644 index 0000000..5e24a7a --- /dev/null +++ b/roles/winroom/tasks/DF-63530.yml @@ -0,0 +1,5 @@ +# Digitalna forenzika +# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si +# Windows, GNU/Linux, GNS3, VirtualBox +- include_tasks: GNS3.yml +- include_tasks: virtualbox.yml diff --git a/roles/winroom/tasks/DN-63260.yml b/roles/winroom/tasks/DN-63260.yml new file mode 100644 index 0000000..ff2006a --- /dev/null +++ b/roles/winroom/tasks/DN-63260.yml @@ -0,0 +1,4 @@ +# Digitalno načrtovanje +# Nejc.Ilc@fri.uni-lj.si +# Windows, Vivado 2022.1 +- include_tasks: vivado.yml diff --git a/roles/winroom/tasks/DPS-63744.yml b/roles/winroom/tasks/DPS-63744.yml new file mode 100644 index 0000000..c389a45 --- /dev/null +++ b/roles/winroom/tasks/DPS-63744.yml @@ -0,0 +1,7 @@ +# Digitalno procesiranje signalov +# Aleks.Huc@fri.uni-lj.si +# Windows, GNU/Linux, Matlab, wfdb, Octave, Audacity +- include_tasks: matlab.yml +- include_tasks: wfdb.yml +- include_tasks: octave.yml +- include_tasks: audacity.yml diff --git a/roles/winroom/tasks/DV-63718.yml b/roles/winroom/tasks/DV-63718.yml new file mode 100644 index 0000000..b730380 --- /dev/null +++ b/roles/winroom/tasks/DV-63718.yml @@ -0,0 +1,4 @@ +# Digitalna vezja +# Miha.Moskon@fri.uni-lj.si +# Windows, Logisim, Logisim Evolution +- include_tasks: logisim.yml diff --git a/roles/winroom/tasks/EP-63249.yml b/roles/winroom/tasks/EP-63249.yml new file mode 100644 index 0000000..3d902c2 --- /dev/null +++ b/roles/winroom/tasks/EP-63249.yml @@ -0,0 +1,6 @@ +# Elektronsko poslovanje +# David.Jelenc@fri.uni-lj.si +# Windows, VirtualBox, Android Studio +# +- include_tasks: virtualbox.yml +- include_tasks: Android_Studio.yml diff --git a/roles/winroom/tasks/Eclipse.yml b/roles/winroom/tasks/Eclipse.yml new file mode 100644 index 0000000..064d5fa --- /dev/null +++ b/roles/winroom/tasks/Eclipse.yml @@ -0,0 +1,14 @@ +- name: Set Eclipse version + set_fact: + target_version: "4.25" + +- name: Install Eclipse + win_chocolatey: + name: eclipse + version: "{{ target_version }}" + +- name: Set up default directories for Eclipse + win_lineinfile: + path: "%ProgramFiles%\\Eclipse {{ target_version }}\\eclipse\\eclipse.ini" + regexp: "osgi.instance.area.default" + line: "-Dosgi.instance.area.default=H:/Documents/eclipse-workspace" diff --git a/roles/winroom/tasks/FP-63507.yml b/roles/winroom/tasks/FP-63507.yml new file mode 100644 index 0000000..6c333c4 --- /dev/null +++ b/roles/winroom/tasks/FP-63507.yml @@ -0,0 +1,11 @@ +# Funkcijsko programiranje +# Klemen.Klanjscek@fri.uni-lj.si, Matjaz.Kukar@fri.uni-lj.si +# Windows, GNU/Linux, VS Code, Python 3, Racket (z DrRacket), SML/NJ, Emacs, rlwrap +# +- include_tasks: vscode.yml +- include_tasks: python3.yml +- include_tasks: racket.yml +- include_tasks: emacs.yml +- include_tasks: smlnj.yml + + diff --git a/roles/winroom/tasks/GNS3.yml b/roles/winroom/tasks/GNS3.yml new file mode 100644 index 0000000..7b168cf --- /dev/null +++ b/roles/winroom/tasks/GNS3.yml @@ -0,0 +1,27 @@ +- name: Set GNS3 version + set_fact: + target_version: "3.0.0a2" + +- name: Check GNS3 install status + win_stat: + path: C:\Program Files\GNS3\gns3.exe + register: file + +- when: not file.stat.exists + block: + # win_package fails to download for some reason + - name: Download GNS3 + win_get_url: + url: https://github.com/GNS3/gns3-gui/releases/download/v{{ target_version }}/GNS3-{{ target_version }}-all-in-one.exe + dest: 'C:\' + register: download + + - name: Install GNS3 + win_package: + path: "{{ download.dest }}" + arguments: /S /AllUsers + + - name: Remove temporary files + win_file: + path: "{{ download.dest }}" + state: absent diff --git a/roles/winroom/tasks/GO-63715.yml b/roles/winroom/tasks/GO-63715.yml new file mode 100644 index 0000000..926fc4a --- /dev/null +++ b/roles/winroom/tasks/GO-63715.yml @@ -0,0 +1,9 @@ +# Grafično oblikovanje +# Blaz.Meden@fri.uni-lj.si, ilb@fri.uni-lj.si +# Blender, Adobe paket (Illustrator, Photoshop, After Effects, Premiere), Processing (orodje za vizualno in interaktivno grafično programiranje), Inkscape (zastonjsko orodje za vektorsko risanje), GIMP (program za urejanje slik in rastrsko risanje) +# +- include_tasks: blender.yml +- include_tasks: adobe_cs.yml +- include_tasks: inkscape.yml +- include_tasks: gimp.yml + diff --git a/roles/winroom/tasks/GUI_development.yml b/roles/winroom/tasks/GUI_development.yml new file mode 100644 index 0000000..882e21a --- /dev/null +++ b/roles/winroom/tasks/GUI_development.yml @@ -0,0 +1 @@ +# TODO what? diff --git a/roles/winroom/tasks/IDEA.yml b/roles/winroom/tasks/IDEA.yml new file mode 100644 index 0000000..00943f6 --- /dev/null +++ b/roles/winroom/tasks/IDEA.yml @@ -0,0 +1,9 @@ +- name: Set IDEA version + set_fact: + target_version: "2022.2.2" + +- name: Install IDEA + win_package: + path: "https://download.jetbrains.com/idea/ideaIC-{{ target_version }}.exe" + arguments: /S + creates_path: "%ProgramFiles(x86)%\\JetBrains\\IntelliJ IDEA Community Edition {{ target_version }}\\bin\\idea64.exe" diff --git a/roles/winroom/tasks/IS-63714.yml b/roles/winroom/tasks/IS-63714.yml new file mode 100644 index 0000000..b4f36eb --- /dev/null +++ b/roles/winroom/tasks/IS-63714.yml @@ -0,0 +1,10 @@ +# Informacijski sistemi +# Miha.Grohar@fri.uni-lj.si +# Windows, GNU/Linux, Docker, VS Code, dotnet6 SDK, GIT, Android Studio + +- include_tasks: docker.yml +- include_tasks: vscode.yml +- include_tasks: dotnet6.yml +- include_tasks: git.yml +- include_tasks: Android_Studio.yml + diff --git a/roles/winroom/tasks/IVZ-63521.yml b/roles/winroom/tasks/IVZ-63521.yml new file mode 100644 index 0000000..fa776af --- /dev/null +++ b/roles/winroom/tasks/IVZ-63521.yml @@ -0,0 +1,6 @@ +# Informacijska varnost in zasebnost +# David.Jelenc@fri.uni-lj.si +# Java JDK, IntelliJ IDEA, VirtualBox +- include_tasks: JDK.yml +- include_tasks: IDEA.yml +- include_tasks: virtualbox.yml diff --git a/roles/winroom/tasks/JDK.yml b/roles/winroom/tasks/JDK.yml new file mode 100644 index 0000000..2930ac1 --- /dev/null +++ b/roles/winroom/tasks/JDK.yml @@ -0,0 +1,29 @@ +- name: Set OpenJDK version + set_fact: + target_version: "18.0.2" + +- name: Install OpenJDK + win_chocolatey: + name: openjdk + version: "{{ target_version }}" + +- name: Set JAVA_HOME + win_environment: + name: JAVA_HOME + value: "C:\\Program Files\\OpenJDK\\jdk-{{ target_version }}" + level: machine + +# XAMPP insists on looking for Java and failing without this. +- name: Set registry key for OpenJDK + win_regedit: + path: HKLM:\SOFTWARE\JavaSoft\Java Development Kit + +- name: Create .jar file type + win_regedit: + path: "HKCR:\\.jar" + data: "jarfile" + +- name: Create association for jarfile + win_regedit: + path: "HKCR:\\jarfile\\shell\\open\\command" + data: C:\Program Files\OpenJDK\jdk-{{ target_version }}\bin\javaw.exe -jar "%1" diff --git a/roles/winroom/tasks/KCR-63550.yml b/roles/winroom/tasks/KCR-63550.yml new file mode 100644 index 0000000..c22ea88 --- /dev/null +++ b/roles/winroom/tasks/KCR-63550.yml @@ -0,0 +1,7 @@ +# Komunikacija človek računalnik +# Ales.Smrdel@fri.uni-lj.si +# Java JDK, Matlab, wfdb, Apache NetBeans +- include_tasks: JDK.yml +- include_tasks: matlab.yml +- include_tasks: wfdb.yml +- include_tasks: netbeans.yml diff --git a/roles/winroom/tasks/KPOV-63716.yml b/roles/winroom/tasks/KPOV-63716.yml new file mode 100644 index 0000000..5411878 --- /dev/null +++ b/roles/winroom/tasks/KPOV-63716.yml @@ -0,0 +1,5 @@ +# Komunikacijski protokoli in omrežna varnost +# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si +# Windows, GNU/Linux, GNS3, VirtualBox +- include_tasks: GNS3.yml +- include_tasks: virtualbox.yml diff --git a/roles/winroom/tasks/KRV-63528.yml b/roles/winroom/tasks/KRV-63528.yml new file mode 100644 index 0000000..3d5690e --- /dev/null +++ b/roles/winroom/tasks/KRV-63528.yml @@ -0,0 +1,7 @@ +# Kriptografija in računalniška varnost +# Klemen.Klanjscek@fri.uni-lj.si, Janos.Vidali@fri.uni-lj.si +# GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client + +- include_tasks: sagemath.yml +- include_tasks: jupyter.yml +- include_tasks: openssl.yml diff --git a/roles/winroom/tasks/MRO-63257.yml b/roles/winroom/tasks/MRO-63257.yml new file mode 100644 index 0000000..617f9e2 --- /dev/null +++ b/roles/winroom/tasks/MRO-63257.yml @@ -0,0 +1,4 @@ +# Modeliranje računalniških omrežij +# Miha.Janez@fri.uni-lj.si +# OMNeT++, INET Framework +- include_tasks: omnetpp.yml diff --git a/roles/winroom/tasks/MV-63288.yml b/roles/winroom/tasks/MV-63288.yml new file mode 100644 index 0000000..288fc10 --- /dev/null +++ b/roles/winroom/tasks/MV-63288.yml @@ -0,0 +1,9 @@ +# Multimedijske vsebine +# Blaz.Meden@fri.uni-lj.si +# Blender, Adobe paket (Illustrator, Photoshop, After Effects, Premiere), Processing (orodje za vizualno in interaktivno grafično programiranje), Inkscape (zastonjsko orodje za vektorsko risanje), GIMP (program za urejanje slik in rastrsko risanje) + +- include_tasks: blender.yml +- include_tasks: adobe_cs.yml +- include_tasks: processing.yml +- include_tasks: inkscape.yml +- include_tasks: gimp.yml diff --git a/roles/winroom/tasks/NDN-63729.yml b/roles/winroom/tasks/NDN-63729.yml new file mode 100644 index 0000000..c4c5ed3 --- /dev/null +++ b/roles/winroom/tasks/NDN-63729.yml @@ -0,0 +1,7 @@ +# Načrtovanje digitalnih naprav +# Miran.Koprivec@fri.uni-lj.si, Miha.Moskon@fri.uni-lj.si +# Windows, Vivado 2022.1 +# Načrtovanje digitalnih naprav +# Miha.Moskon@fri.uni-lj.si +# Windows, Vivado 2022.1 +- include_tasks: vivado.yml diff --git a/roles/winroom/tasks/NM-63522.yml b/roles/winroom/tasks/NM-63522.yml new file mode 100644 index 0000000..abc6437 --- /dev/null +++ b/roles/winroom/tasks/NM-63522.yml @@ -0,0 +1,5 @@ +# Numerična matematika +# Martin.Vuk@fri.uni-lj.si +# VS Code, Julia +- include_tasks: vscode.yml +- include_tasks: julia.yml diff --git a/roles/winroom/tasks/NPMP-63512.yml b/roles/winroom/tasks/NPMP-63512.yml new file mode 100644 index 0000000..caa3040 --- /dev/null +++ b/roles/winroom/tasks/NPMP-63512.yml @@ -0,0 +1,5 @@ +# Nekonvencionalne platforme in metode procesiranja +# Miha.Janez@fri.uni-lj.si, Miha.Moskon@fri.uni-lj.si +# QCADesigner-E + +- include_tasks: qcadesigner-e.yml diff --git a/roles/winroom/tasks/NRG-63553.yml b/roles/winroom/tasks/NRG-63553.yml new file mode 100644 index 0000000..2533fca --- /dev/null +++ b/roles/winroom/tasks/NRG-63553.yml @@ -0,0 +1,5 @@ +# Napredna računalniška grafika +# Ziga.Lesar@fri.uni-lj.si +# Windows, Build Tools for Visual Studio 2022 + +- include_tasks: visual_studio.yml diff --git a/roles/winroom/tasks/OBSS-63514.yml b/roles/winroom/tasks/OBSS-63514.yml new file mode 100644 index 0000000..daaa24c --- /dev/null +++ b/roles/winroom/tasks/OBSS-63514.yml @@ -0,0 +1,5 @@ +# Obdelava biomedicinskih signalov in slik +# Ziga.Pirnar@fri.uni-lj.si +# GNU/Linux, Matlab, wfdb +- include_tasks: matlab.yml +- include_tasks: wfdb.yml diff --git a/roles/winroom/tasks/ODV-63204.yml b/roles/winroom/tasks/ODV-63204.yml new file mode 100644 index 0000000..401665b --- /dev/null +++ b/roles/winroom/tasks/ODV-63204.yml @@ -0,0 +1,4 @@ +# Osnove digitalnih vezij +# Ziga.Pusnik@fri.uni-lj.si, Miran.Koprivec@fri.uni-lj.si +# Windows, Logisim, Logisim Evolution +- include_tasks: logisim.yml diff --git a/roles/winroom/tasks/OO-63271.yml b/roles/winroom/tasks/OO-63271.yml new file mode 100644 index 0000000..50cdbdb --- /dev/null +++ b/roles/winroom/tasks/OO-63271.yml @@ -0,0 +1,8 @@ +# Osnove oblikovanja +# Blaz.Meden@fri.uni-lj.si, Narvika.Bovcon@fri.uni-lj.si +# Blender, Adobe paket (Illustrator, Photoshop, After Effects, Premiere), Processing (orodje za vizualno in interaktivno grafično programiranje), Inkscape (zastonjsko orodje za vektorsko risanje), GIMP (program za urejanje slik in rastrsko risanje) +- include_tasks: blender.yml +- include_tasks: adobe_cs.yml +- include_tasks: inkscape.yml +- include_tasks: gimp.yml + diff --git a/roles/winroom/tasks/OR-63717.yml b/roles/winroom/tasks/OR-63717.yml new file mode 100644 index 0000000..ccd058b --- /dev/null +++ b/roles/winroom/tasks/OR-63717.yml @@ -0,0 +1,9 @@ +# Organizacija računalnikov +# Robert.Rozman@fri.uni-lj.si +# Windows, Logisim, Logisim Evolution, RAVINOR, CubeIDE + QEMU Embedded plugin +- include_tasks: logisim.yml +- include_tasks: stm32cube.yml +#- include_tasks: ninja.yml +#- include_tasks: cmake.yml +#- include_tasks: gcc-arm.yml +# TODO: RAVINOR diff --git a/roles/winroom/tasks/OS-63709.yml b/roles/winroom/tasks/OS-63709.yml new file mode 100644 index 0000000..44edcd6 --- /dev/null +++ b/roles/winroom/tasks/OS-63709.yml @@ -0,0 +1,4 @@ +# Operacijski sistemi +# Borut.Batagelj@fri.uni-lj.si, Ziga.Emersic@fri.uni-lj.si, Bojan.Klemenc@fri.uni-lj.si, Matej.Vitek@fri.uni-lj.si +# VirtualBox +- include_tasks: virtualbox.yml diff --git a/roles/winroom/tasks/OS-63741.yml b/roles/winroom/tasks/OS-63741.yml new file mode 100644 index 0000000..4d5e31d --- /dev/null +++ b/roles/winroom/tasks/OS-63741.yml @@ -0,0 +1,3 @@ +# Odločitveni sistemi +# Martin.Mozina@fri.uni-lj.si +# Windows diff --git a/roles/winroom/tasks/OUI-63214.yml b/roles/winroom/tasks/OUI-63214.yml new file mode 100644 index 0000000..10db320 --- /dev/null +++ b/roles/winroom/tasks/OUI-63214.yml @@ -0,0 +1,7 @@ +# Osnove umetne inteligence +# Jure.Zabkar@fri.uni-lj.si, Ales.Papic@fri.uni-lj.si, matej.piculin@fri.uni-lj.si, Marko.Zeman@fri.uni-lj.si, bojan.zunkovic@fri.uni-lj.si +# Orange, Weka 3, BayesFusion + +- include_tasks: orange.yml +- include_tasks: weka.yml +- include_tasks: bayesfusion.yml diff --git a/roles/winroom/tasks/P2-63706.yml b/roles/winroom/tasks/P2-63706.yml new file mode 100644 index 0000000..b1004e6 --- /dev/null +++ b/roles/winroom/tasks/P2-63706.yml @@ -0,0 +1,7 @@ +# Programiranje 2 +# Tomaz.Dobravec@fri.uni-lj.si +# Windows, Java JDK, IntelliJ IDEA, Apache NetBeans + +- include_tasks: JDK.yml +- include_tasks: IDEA.yml +- include_tasks: netbeans.yml diff --git a/roles/winroom/tasks/PA-63737.yml b/roles/winroom/tasks/PA-63737.yml new file mode 100644 index 0000000..27258be --- /dev/null +++ b/roles/winroom/tasks/PA-63737.yml @@ -0,0 +1,5 @@ +# Procesna avtomatika +# Nejc.Ilc@fri.uni-lj.si +# Windows, VMware Workstation 16.2.4 Player + +- include_tasks: vmware_player.yml diff --git a/roles/winroom/tasks/PB-63707.yml b/roles/winroom/tasks/PB-63707.yml new file mode 100644 index 0000000..22eea37 --- /dev/null +++ b/roles/winroom/tasks/PB-63707.yml @@ -0,0 +1,11 @@ +# Podatkovne baze +# Ales.Jaklic@fri.uni-lj.si, matej.piculin@fri.uni-lj.si, Luka.Sajn@fri.uni-lj.si +# Windows, Power designer 12.5, Java JDK, Python 3, dotnet6 SDK, Jupyter Notebook, Eclipse, MySql Workbench, MySQL ODBC Connector, Notepad++ +- include_tasks: Eclipse.yml +- include_tasks: dotnet6.yml +- include_tasks: jupyter.yml +- include_tasks: JDK.yml +- include_tasks: powerdesigner.yml +- include_tasks: mysql_workbench.yml +- include_tasks: mysql-odbc-connector.yml +- include_tasks: notepad++.yml diff --git a/roles/winroom/tasks/PB2-63713.yml b/roles/winroom/tasks/PB2-63713.yml new file mode 100644 index 0000000..4959d52 --- /dev/null +++ b/roles/winroom/tasks/PB2-63713.yml @@ -0,0 +1,7 @@ +# Podatkovne baze 2 +# Aljaz.Zrnec@fri.uni-lj.si +# Windows +# Podatkovne baze 2 +# Aljaz.Zrnec@fri.uni-lj.si +# Power designer 12.5 +- include_tasks: powerdesigner.yml diff --git a/roles/winroom/tasks/PJC-63769.yml b/roles/winroom/tasks/PJC-63769.yml new file mode 100644 index 0000000..3dd3ac5 --- /dev/null +++ b/roles/winroom/tasks/PJC-63769.yml @@ -0,0 +1,5 @@ +# Programski jezik C +# Tomaz.Dobravec@fri.uni-lj.si +# Windows, Pelles C + +- include_tasks: pelles-c.yml diff --git a/roles/winroom/tasks/PPJ-63220.yml b/roles/winroom/tasks/PPJ-63220.yml new file mode 100644 index 0000000..1e2ebf9 --- /dev/null +++ b/roles/winroom/tasks/PPJ-63220.yml @@ -0,0 +1,10 @@ +# Principi programskih jezikov +# Klemen.Klanjscek@fri.uni-lj.si +# Windows, GNU/Linux, VS Code, Ocaml, Eclipse, Haskell, SWI-Prolog, rlwrap + +- include_tasks: vscode.yml +- include_tasks: ocaml.yml +- include_tasks: Eclipse.yml +- include_tasks: haskell.yml +- include_tasks: swi-prolog.yml + diff --git a/roles/winroom/tasks/PS-63261.yml b/roles/winroom/tasks/PS-63261.yml new file mode 100644 index 0000000..129df79 --- /dev/null +++ b/roles/winroom/tasks/PS-63261.yml @@ -0,0 +1,4 @@ +# Porazdeljeni sistemi +# Davor.Sluga@fri.uni-lj.si +# Windows, VS Code +- include_tasks: vscode.yml diff --git a/roles/winroom/tasks/PSP-63287.yml b/roles/winroom/tasks/PSP-63287.yml new file mode 100644 index 0000000..7a9c97c --- /dev/null +++ b/roles/winroom/tasks/PSP-63287.yml @@ -0,0 +1,6 @@ +# Programiranje specifičnih platform +# Veljko.Pejovic@fri.uni-lj.si +# Android Studio, Arduino IDE + +- include_tasks: Android_Studio.yml +- include_tasks: arduino.yml diff --git a/roles/winroom/tasks/PUI-63768.yml b/roles/winroom/tasks/PUI-63768.yml new file mode 100644 index 0000000..be36b17 --- /dev/null +++ b/roles/winroom/tasks/PUI-63768.yml @@ -0,0 +1,4 @@ +# Planiranje in upravljanje informatike +# damjan.fujs@fri.uni-lj.si +# Planiranje in upravljanje informatike (VS) +- include_tasks: projectlibre.yml diff --git a/roles/winroom/tasks/RA-63703.yml b/roles/winroom/tasks/RA-63703.yml new file mode 100644 index 0000000..9fd7845 --- /dev/null +++ b/roles/winroom/tasks/RA-63703.yml @@ -0,0 +1,7 @@ +# Računalniška arhitektura +# Ziga.Pusnik@fri.uni-lj.si, Rok.Cesnovar@fri.uni-lj.si, Robert.Rozman@fri.uni-lj.si, Mira.Trebar@fri.uni-lj.si +# Windows, RAVINOR, CubeIDE + QEMU Embedded plugin, WinIdea 9.21 + GCC + QEMU, WinIdea 9.12.256 (FRISMS kompatibilna), Visual2 + +- include_tasks: stm32cube.yml +- include_tasks: winidea.yml +- include_tasks: visual2.yml diff --git a/roles/winroom/tasks/RGTI-63269.yml b/roles/winroom/tasks/RGTI-63269.yml new file mode 100644 index 0000000..099919c --- /dev/null +++ b/roles/winroom/tasks/RGTI-63269.yml @@ -0,0 +1,4 @@ +# Računalniška grafika in tehnologija iger +# Ziga.Lesar@fri.uni-lj.si +# Windows, Unity +- include_tasks: unity.yml diff --git a/roles/winroom/tasks/RIS-63252.yml b/roles/winroom/tasks/RIS-63252.yml new file mode 100644 index 0000000..698f7ce --- /dev/null +++ b/roles/winroom/tasks/RIS-63252.yml @@ -0,0 +1,4 @@ +# Razvoj informacijskih sistemov +# Aljaz.Zrnec@fri.uni-lj.si +# Power designer 12.5 +- include_tasks: powerdesigner.yml diff --git a/roles/winroom/tasks/RK-63209.yml b/roles/winroom/tasks/RK-63209.yml new file mode 100644 index 0000000..bee15c1 --- /dev/null +++ b/roles/winroom/tasks/RK-63209.yml @@ -0,0 +1,9 @@ +# Računalniške komunikacije +# Ales.Jaklic@fri.uni-lj.si, Matjaz.Pancur@fri.uni-lj.si, Jure.Tuta@fri.uni-lj.si, Domen.Kosir@fri.uni-lj.si +# GNU/Linux, GNS3, Docker, VS Code, wireshark, Java JDK, Python 3 +- include_tasks: docker.yml +- include_tasks: GNS3.yml +- include_tasks: vscode.yml +- include_tasks: wireshark.yml +- include_tasks: JDK.yml + diff --git a/roles/winroom/tasks/RK-63708.yml b/roles/winroom/tasks/RK-63708.yml new file mode 100644 index 0000000..c3dea0d --- /dev/null +++ b/roles/winroom/tasks/RK-63708.yml @@ -0,0 +1,9 @@ +# Računalniške komunikacije +# Matjaz.Pancur@fri.uni-lj.si, Miha.Grohar@fri.uni-lj.si +# GNU/Linux, GNS3, Docker, VS Code, wireshark, Java JDK, Python 3 +- include_tasks: docker.yml +- include_tasks: GNS3.yml +- include_tasks: vscode.yml +- include_tasks: wireshark.yml +- include_tasks: JDK.yml + diff --git a/roles/winroom/tasks/RPOI-90066.yml b/roles/winroom/tasks/RPOI-90066.yml new file mode 100644 index 0000000..fc15333 --- /dev/null +++ b/roles/winroom/tasks/RPOI-90066.yml @@ -0,0 +1,6 @@ +# Računalniška podpora oblikovanju I (ALUO) +# Matija.Marolt@fri.uni-lj.si +# SolidWorks +# Računalniška podpora oblikovanju I (ALUO) +# Matija.Marolt@fri.uni-lj.si +# SolidWorks diff --git a/roles/winroom/tasks/RZP-63523.yml b/roles/winroom/tasks/RZP-63523.yml new file mode 100644 index 0000000..ecaf941 --- /dev/null +++ b/roles/winroom/tasks/RZP-63523.yml @@ -0,0 +1,7 @@ +# Računalniška zvočna produkcija +# Aleks.Huc@fri.uni-lj.si +# IntelliJ IDEA, Audacity, GIT +- include_tasks: git.yml +- include_tasks: audacity.yml +- include_tasks: IDEA.yml + diff --git a/roles/winroom/tasks/ST-63727.yml b/roles/winroom/tasks/ST-63727.yml new file mode 100644 index 0000000..66e48a3 --- /dev/null +++ b/roles/winroom/tasks/ST-63727.yml @@ -0,0 +1,5 @@ +# Spletne tehnologije +# David.Jelenc@fri.uni-lj.si +# Windows, VS Code, XAMPP +- include_tasks: vscode.yml +- include_tasks: XAMPP.yml diff --git a/roles/winroom/tasks/SU-63519.yml b/roles/winroom/tasks/SU-63519.yml new file mode 100644 index 0000000..8eb82b1 --- /dev/null +++ b/roles/winroom/tasks/SU-63519.yml @@ -0,0 +1,4 @@ +# Strojno učenje +# matej.piculin@fri.uni-lj.si, Petar.Vracar@fri.uni-lj.si +# Windows, R, RStudio +- include_tasks: rstudio.yml diff --git a/roles/winroom/tasks/TINR-63740.yml b/roles/winroom/tasks/TINR-63740.yml new file mode 100644 index 0000000..c8663a7 --- /dev/null +++ b/roles/winroom/tasks/TINR-63740.yml @@ -0,0 +1,3 @@ +# Tehnologija iger in navidezna resničnost +# Bojan.Klemenc@fri.uni-lj.si +# macOS, Xcode diff --git a/roles/winroom/tasks/TIS-63216.yml b/roles/winroom/tasks/TIS-63216.yml new file mode 100644 index 0000000..f1fe0d3 --- /dev/null +++ b/roles/winroom/tasks/TIS-63216.yml @@ -0,0 +1,4 @@ +# Teorija informacij in sistemov +# Davor.Sluga@fri.uni-lj.si +# Windows, VS Code, Python 3 +- include_tasks: vscode.yml diff --git a/roles/winroom/tasks/TUP-63226.yml b/roles/winroom/tasks/TUP-63226.yml new file mode 100644 index 0000000..73bd12c --- /dev/null +++ b/roles/winroom/tasks/TUP-63226.yml @@ -0,0 +1,12 @@ +# Tehnologija upravljanja podatkov +# Luka.Sajn@fri.uni-lj.si +# Windows, Power designer 12.5, Java JDK, Python 3, dotnet6 SDK, Jupyter Notebook, Eclipse, MySql Workbench, MySQL ODBC Connector, Notepad++ +- include_tasks: Eclipse.yml +- include_tasks: dotnet6.yml +- include_tasks: jupyter.yml +- include_tasks: JDK.yml +- include_tasks: powerdesigner.yml +- include_tasks: mysql_workbench.yml +- include_tasks: mysql-odbc-connector.yml +- include_tasks: notepad++.yml + diff --git a/roles/winroom/tasks/UI-63720.yml b/roles/winroom/tasks/UI-63720.yml new file mode 100644 index 0000000..3019f30 --- /dev/null +++ b/roles/winroom/tasks/UI-63720.yml @@ -0,0 +1,4 @@ +# Umetna inteligenca +# Petar.Vracar@fri.uni-lj.si +# Windows, R, RStudio +- include_tasks: rstudio.yml diff --git a/roles/winroom/tasks/UV-63721.yml b/roles/winroom/tasks/UV-63721.yml new file mode 100644 index 0000000..cf15c53 --- /dev/null +++ b/roles/winroom/tasks/UV-63721.yml @@ -0,0 +1,7 @@ +# Uporabniški vmesniki +# Ales.Smrdel@fri.uni-lj.si +# Windows, GNU/Linux, Java JDK, IntelliJ IDEA, javafx, SceneBuilder, X11 development, Wayland development, gtk+ development, glade, python +- include_tasks: JDK.yml +- include_tasks: IDEA.yml +- include_tasks: javafx.yml +- include_tasks: GUI_development.yml diff --git a/roles/winroom/tasks/UZ-63267.yml b/roles/winroom/tasks/UZ-63267.yml new file mode 100644 index 0000000..192e871 --- /dev/null +++ b/roles/winroom/tasks/UZ-63267.yml @@ -0,0 +1,3 @@ +# Umetno zaznavanje +# jon.muhovic@fe.uni-lj.si +- include_tasks: python3.yml diff --git a/roles/winroom/tasks/VN-63728.yml b/roles/winroom/tasks/VN-63728.yml new file mode 100644 index 0000000..e486355 --- /dev/null +++ b/roles/winroom/tasks/VN-63728.yml @@ -0,0 +1,7 @@ +# Vhodno-izhodne naprave +# Robert.Rozman@fri.uni-lj.si +# Windows, Logisim Evolution, RAVINOR, WinIdea 9.12.256 (FRISMS kompatibilna), LTSpice + +- include_tasks: logisim.yml +- include_tasks: winidea.yml +- include_tasks: ltspice.yml diff --git a/roles/winroom/tasks/VPSA-63735.yml b/roles/winroom/tasks/VPSA-63735.yml new file mode 100644 index 0000000..ba8d41d --- /dev/null +++ b/roles/winroom/tasks/VPSA-63735.yml @@ -0,0 +1,5 @@ +# Vzporedni in porazdeljeni sistemi in algoritmi +# Davor.Sluga@fri.uni-lj.si, Rok.Cesnovar@fri.uni-lj.si +# Windows, VS Code, Build Tools for Visual Studio 2022 +- include_tasks: vscode.yml +- include_tasks: visual_studio.yml diff --git a/roles/winroom/tasks/VZR-63543.yml b/roles/winroom/tasks/VZR-63543.yml new file mode 100644 index 0000000..d847462 --- /dev/null +++ b/roles/winroom/tasks/VZR-63543.yml @@ -0,0 +1,4 @@ +# Visoko zmogljivo računanje +# Davor.Sluga@fri.uni-lj.si +# Windows, VS Code +- include_tasks: vscode.yml diff --git a/roles/classroom/tasks/xampp.yml b/roles/winroom/tasks/XAMPP.yml similarity index 100% rename from roles/classroom/tasks/xampp.yml rename to roles/winroom/tasks/XAMPP.yml diff --git a/roles/winroom/tasks/adobe_cs.yml b/roles/winroom/tasks/adobe_cs.yml new file mode 100644 index 0000000..a033864 --- /dev/null +++ b/roles/winroom/tasks/adobe_cs.yml @@ -0,0 +1 @@ +# TODO ugotovi, kaj narediti z Adobe CS diff --git a/roles/winroom/tasks/arduino.yml b/roles/winroom/tasks/arduino.yml new file mode 100644 index 0000000..2446c44 --- /dev/null +++ b/roles/winroom/tasks/arduino.yml @@ -0,0 +1,27 @@ +# TODO fix this +- name: Install Arduino IDE + win_package: + path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.msi + arguments: "ALLUSERS=1" + + #- name: Check Arduino IDE install status + # win_stat: + # path: C:\Program Files (x86)\Thonny\thonny.exeee + # register: file + # + #- when: not file.stat.exists + # block: + # # win_package fails to download for some reason + # - name: Download Arduino IDE + # win_get_url: + # url: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.msi + # dest: C:\ + # register: download + # + # - name: Install Arduino IDE + # win_command: cmd.exe /k {{ download.dest }} /quiet /qn + # + # - name: Remove temporary files + # win_file: + # path: "{{ download.dest }}" + # state: absent diff --git a/roles/classroom/tasks/audacity.yml b/roles/winroom/tasks/audacity.yml similarity index 100% rename from roles/classroom/tasks/audacity.yml rename to roles/winroom/tasks/audacity.yml diff --git a/roles/winroom/tasks/bayesfusion.yml b/roles/winroom/tasks/bayesfusion.yml new file mode 100644 index 0000000..e6a0129 --- /dev/null +++ b/roles/winroom/tasks/bayesfusion.yml @@ -0,0 +1 @@ +# TODO install BayesFusion.yml diff --git a/roles/classroom/tasks/blender.yml b/roles/winroom/tasks/blender.yml similarity index 100% rename from roles/classroom/tasks/blender.yml rename to roles/winroom/tasks/blender.yml diff --git a/roles/classroom/tasks/chrome.yml b/roles/winroom/tasks/chrome.yml similarity index 100% rename from roles/classroom/tasks/chrome.yml rename to roles/winroom/tasks/chrome.yml diff --git a/roles/winroom/tasks/docker.yml b/roles/winroom/tasks/docker.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/docker.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/winroom/tasks/dotnet6.yml b/roles/winroom/tasks/dotnet6.yml new file mode 100644 index 0000000..62e8167 --- /dev/null +++ b/roles/winroom/tasks/dotnet6.yml @@ -0,0 +1,3 @@ +- name: Install .NET 6 SDK + win_chocolatey: + name: dotnet-6.0-sdk diff --git a/roles/classroom/tasks/emacs.yml b/roles/winroom/tasks/emacs.yml similarity index 100% rename from roles/classroom/tasks/emacs.yml rename to roles/winroom/tasks/emacs.yml diff --git a/roles/classroom/tasks/firefox.yml b/roles/winroom/tasks/firefox.yml similarity index 100% rename from roles/classroom/tasks/firefox.yml rename to roles/winroom/tasks/firefox.yml diff --git a/roles/classroom/tasks/gimp.yml b/roles/winroom/tasks/gimp.yml similarity index 100% rename from roles/classroom/tasks/gimp.yml rename to roles/winroom/tasks/gimp.yml diff --git a/roles/classroom/tasks/git.yml b/roles/winroom/tasks/git.yml similarity index 100% rename from roles/classroom/tasks/git.yml rename to roles/winroom/tasks/git.yml diff --git a/roles/winroom/tasks/haskell.yml b/roles/winroom/tasks/haskell.yml new file mode 100644 index 0000000..da6988e --- /dev/null +++ b/roles/winroom/tasks/haskell.yml @@ -0,0 +1,25 @@ +- name: Check Haskell install status + win_stat: + path: C:\ghcup\bin\ghc.exe + register: file + +- when: not file.stat.exists + block: + - name: Download Haskell + win_get_url: + url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1" + dest: 'C:\' + register: download + + - name: Install Haskell + win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64 + + - name: Add Haskell to PATH + win_path: + elements: + C:\ghcup\bin + + - name: Remove temporary files + win_file: + path: "{{ download.dest }}" + state: absent diff --git a/roles/classroom/tasks/inkscape.yml b/roles/winroom/tasks/inkscape.yml similarity index 100% rename from roles/classroom/tasks/inkscape.yml rename to roles/winroom/tasks/inkscape.yml diff --git a/roles/winroom/tasks/javafx.yml b/roles/winroom/tasks/javafx.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/javafx.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/winroom/tasks/julia.yml b/roles/winroom/tasks/julia.yml new file mode 100644 index 0000000..399e3bb --- /dev/null +++ b/roles/winroom/tasks/julia.yml @@ -0,0 +1,4 @@ +- name: Install Julia + win_package: + path: https://julialang-s3.julialang.org/bin/winnt/x64/1.8/julia-1.8.1-win64.exe + arguments: /VerySilent /AllUsers diff --git a/roles/winroom/tasks/jupyter.yml b/roles/winroom/tasks/jupyter.yml new file mode 100644 index 0000000..7a3001d --- /dev/null +++ b/roles/winroom/tasks/jupyter.yml @@ -0,0 +1,8 @@ +- name: Install Jupyter Notebook + win_command: pip install jupyter jupyterlab + +- name: Create Jupyter Notebook shortcut + win_shortcut: + dest: "C:\\Users\\Public\\Desktop\\Jupyter Notebook.lnk" + src: cmd.exe + arguments: /k jupyter notebook diff --git a/roles/winroom/tasks/libreoffice.yml b/roles/winroom/tasks/libreoffice.yml new file mode 100644 index 0000000..0a9b610 --- /dev/null +++ b/roles/winroom/tasks/libreoffice.yml @@ -0,0 +1,3 @@ +- name: Install LibreOffice + win_chocolatey: + name: libreoffice diff --git a/roles/winroom/tasks/logisim.yml b/roles/winroom/tasks/logisim.yml new file mode 100644 index 0000000..fa5ce2e --- /dev/null +++ b/roles/winroom/tasks/logisim.yml @@ -0,0 +1,19 @@ +- name: Create Logisim directory + win_file: + path: "%ProgramFiles%\\logisim" + state: directory + +- name: Install Logisim + win_get_url: + url: https://sourceforge.net/projects/circuit/files/2.7.x/2.7.1/logisim-generic-2.7.1.jar + dest: "%ProgramFiles%\\logisim\\logisim.jar" + +- name: Create Logisim shortcut + win_shortcut: + src: "%ProgramFiles%\\logisim\\logisim.jar" + dest: "C:\\Users\\Public\\Desktop\\Logisim.lnk" + +- name: Install Logisim-Evolution + win_package: + path: https://github.com/logisim-evolution/logisim-evolution/releases/download/v3.7.2/logisim-evolution-3.7.2.msi + product_id: b30fa00c-da3f-3769-aaea-6571cacf5c30 diff --git a/roles/winroom/tasks/ltspice.yml b/roles/winroom/tasks/ltspice.yml new file mode 100644 index 0000000..c6a8e9e --- /dev/null +++ b/roles/winroom/tasks/ltspice.yml @@ -0,0 +1 @@ +# TODO https://ltspice.analog.com/software/LTspice64.exe diff --git a/roles/winroom/tasks/main.yml b/roles/winroom/tasks/main.yml new file mode 100644 index 0000000..9749289 --- /dev/null +++ b/roles/winroom/tasks/main.yml @@ -0,0 +1,57 @@ +- import_tasks: util.yml +- import_tasks: AAHRP-63263.yml +- import_tasks: APS1-63279.yml +- import_tasks: ARP1-63545C.yml +- import_tasks: BMO-63259.yml +- import_tasks: DF-63530.yml +- import_tasks: DN-63260.yml +- import_tasks: DPS-63744.yml +- import_tasks: DV-63718.yml +- import_tasks: EP-63249.yml +- import_tasks: FP-63507.yml +- import_tasks: GO-63715.yml +- import_tasks: IS-63714.yml +- import_tasks: IVZ-63521.yml +- import_tasks: KCR-63550.yml +- import_tasks: KPOV-63716.yml +- import_tasks: KRV-63528.yml +- import_tasks: MRO-63257.yml +- import_tasks: MV-63288.yml +- import_tasks: NDN-63729.yml +- import_tasks: NM-63522.yml +- import_tasks: NPMP-63512.yml +- import_tasks: NRG-63553.yml +- import_tasks: OBSS-63514.yml +- import_tasks: ODV-63204.yml +- import_tasks: OO-63271.yml +- import_tasks: OR-63717.yml +- import_tasks: OS-63709.yml +- import_tasks: OS-63741.yml +- import_tasks: OUI-63214.yml +- import_tasks: P2-63706.yml +- import_tasks: PA-63737.yml +- import_tasks: PB-63707.yml +- import_tasks: PB2-63713.yml +- import_tasks: PJC-63769.yml +- import_tasks: PPJ-63220.yml +- import_tasks: PS-63261.yml +- import_tasks: PSP-63287.yml +- import_tasks: PUI-63768.yml +- import_tasks: RA-63703.yml +- import_tasks: RGTI-63269.yml +- import_tasks: RIS-63252.yml +- import_tasks: RK-63209.yml +- import_tasks: RK-63708.yml +- import_tasks: RPOI-90066.yml +- import_tasks: RZP-63523.yml +- import_tasks: ST-63727.yml +- import_tasks: SU-63519.yml +- import_tasks: TINR-63740.yml +- import_tasks: TIS-63216.yml +- import_tasks: TUP-63226.yml +- import_tasks: UI-63720.yml +- import_tasks: UV-63721.yml +- import_tasks: UZ-63267.yml +- import_tasks: VN-63728.yml +- import_tasks: VPSA-63735.yml +- import_tasks: VZR-63543.yml diff --git a/roles/winroom/tasks/matlab.yml b/roles/winroom/tasks/matlab.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/matlab.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/winroom/tasks/msys2.yml b/roles/winroom/tasks/msys2.yml new file mode 100644 index 0000000..784ce26 --- /dev/null +++ b/roles/winroom/tasks/msys2.yml @@ -0,0 +1,37 @@ +- name: Check msys2 install status + win_stat: + path: C:\msys64 + register: file + +- when: not file.stat.exists + block: + - name: Download msys2 + win_get_url: + url: "https://github.com/msys2/msys2-installer/releases/download/2022-09-04/msys2-x86_64-20220904.exe" + dest: 'C:\' + register: download + + - name: Install msys2 + win_package: + path: "{{ download.dest }}" + arguments: install --confirm-command --accept-messages --root C:\msys64 + + - name: Add msys2 to path + win_path: + elements: + C:\msys64\usr\bin + + - name: Update msys2 + win_command: pacman -Syu --noconfirm + + - name: Remove temporary files + win_file: + path: "{{ download.dest }}" + state: absent + +- name: Install essentials + win_command: pacman -S --noconfirm {{ item }} + loop: + - gcc + - rlwrap + - rsync diff --git a/roles/classroom/tasks/mysql-odbc-connector.yml b/roles/winroom/tasks/mysql-odbc-connector.yml similarity index 100% rename from roles/classroom/tasks/mysql-odbc-connector.yml rename to roles/winroom/tasks/mysql-odbc-connector.yml diff --git a/roles/winroom/tasks/mysql_workbench.yml b/roles/winroom/tasks/mysql_workbench.yml new file mode 100644 index 0000000..8f7e79d --- /dev/null +++ b/roles/winroom/tasks/mysql_workbench.yml @@ -0,0 +1,3 @@ +- name: Install MySQL workbench + win_package: + path: "https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-8.0.30-winx64.msi" diff --git a/roles/classroom/tasks/netbeans.yml b/roles/winroom/tasks/netbeans.yml similarity index 100% rename from roles/classroom/tasks/netbeans.yml rename to roles/winroom/tasks/netbeans.yml diff --git a/roles/classroom/tasks/notepad++.yml b/roles/winroom/tasks/notepad++.yml similarity index 100% rename from roles/classroom/tasks/notepad++.yml rename to roles/winroom/tasks/notepad++.yml diff --git a/roles/winroom/tasks/ocaml.yml b/roles/winroom/tasks/ocaml.yml new file mode 100644 index 0000000..0230f8b --- /dev/null +++ b/roles/winroom/tasks/ocaml.yml @@ -0,0 +1,31 @@ +# TODO ugh +#- name: Install OCaml +# win_chocolatey: +# name: ocaml +#- name: Set Ocaml installer version +# set_fact: +# target_version: "1.0.1" +# +#- name: Check Ocaml install status +# win_stat: +# path: C:\Program Files (x86)\Thonny\thonny.exeasd +# register: file +# +#- when: not file.stat.exists +# block: +# # win_package fails to download for some reason +# - name: Download Ocaml +# win_get_url: +# url: https://github.com/diskuv/dkml-installer-ocaml/releases/download/v{{ target_version }}/setup-diskuv-ocaml-windows_x86_64-{{ target_version }}.exe +# dest: 'C:\' +# register: download +# +# - name: Install Ocaml +# win_package: +# path: "{{ download.dest }}" +# #arguments: /Verysilent /AllUsers +# +# - name: Remove temporary files +# win_file: +# path: "{{ download.dest }}" +# state: absent diff --git a/roles/classroom/tasks/octave.yml b/roles/winroom/tasks/octave.yml similarity index 100% rename from roles/classroom/tasks/octave.yml rename to roles/winroom/tasks/octave.yml diff --git a/roles/winroom/tasks/omnetpp.yml b/roles/winroom/tasks/omnetpp.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/omnetpp.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/winroom/tasks/openssl.yml b/roles/winroom/tasks/openssl.yml new file mode 100644 index 0000000..9687d1b --- /dev/null +++ b/roles/winroom/tasks/openssl.yml @@ -0,0 +1,4 @@ +# We have it at least in git and msys2 but what the hell. +- name: Install OpenSSL + win_chocolatey: + name: openssl diff --git a/roles/classroom/tasks/orange.yml b/roles/winroom/tasks/orange.yml similarity index 100% rename from roles/classroom/tasks/orange.yml rename to roles/winroom/tasks/orange.yml diff --git a/roles/classroom/tasks/pelles-c.yml b/roles/winroom/tasks/pelles-c.yml similarity index 92% rename from roles/classroom/tasks/pelles-c.yml rename to roles/winroom/tasks/pelles-c.yml index 15cb253..cc66545 100644 --- a/roles/classroom/tasks/pelles-c.yml +++ b/roles/winroom/tasks/pelles-c.yml @@ -1,4 +1,3 @@ -# TODO switch to chocolatey once they fix the installer and upgrade to 11 - name: Set PellesC version set_fact: target_version: "11.00" diff --git a/roles/winroom/tasks/powerdesigner.yml b/roles/winroom/tasks/powerdesigner.yml new file mode 100644 index 0000000..3afde4e --- /dev/null +++ b/roles/winroom/tasks/powerdesigner.yml @@ -0,0 +1 @@ +# TODO Which one? diff --git a/roles/classroom/tasks/processing.yml b/roles/winroom/tasks/processing.yml similarity index 100% rename from roles/classroom/tasks/processing.yml rename to roles/winroom/tasks/processing.yml diff --git a/roles/winroom/tasks/projectlibre.yml b/roles/winroom/tasks/projectlibre.yml new file mode 100644 index 0000000..1e6e06d --- /dev/null +++ b/roles/winroom/tasks/projectlibre.yml @@ -0,0 +1,4 @@ +- name: Install ProjectLibre + win_package: + path: "https://sourceforge.net/projects/projectlibre/files/ProjectLibre/1.9.3/projectlibre-1.9.3.exe" + arguments: /VerySilent diff --git a/roles/classroom/tasks/pycharm.yml b/roles/winroom/tasks/pycharm.yml similarity index 100% rename from roles/classroom/tasks/pycharm.yml rename to roles/winroom/tasks/pycharm.yml diff --git a/roles/classroom/tasks/python.yml b/roles/winroom/tasks/python3.yml similarity index 100% rename from roles/classroom/tasks/python.yml rename to roles/winroom/tasks/python3.yml diff --git a/roles/winroom/tasks/qcadesigner-e.yml b/roles/winroom/tasks/qcadesigner-e.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/qcadesigner-e.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/classroom/tasks/racket.yml b/roles/winroom/tasks/racket.yml similarity index 100% rename from roles/classroom/tasks/racket.yml rename to roles/winroom/tasks/racket.yml diff --git a/roles/classroom/tasks/rstudio.yml b/roles/winroom/tasks/rstudio.yml similarity index 71% rename from roles/classroom/tasks/rstudio.yml rename to roles/winroom/tasks/rstudio.yml index 16bfe87..59722b2 100644 --- a/roles/classroom/tasks/rstudio.yml +++ b/roles/winroom/tasks/rstudio.yml @@ -3,32 +3,6 @@ name: r.project package_params: /AddToPath -- name: Install RStudio - win_chocolatey: - name: r.studio - -- name: Create configuration directory - win_file: - path: "%PROGRAMDATA%\\RStudio" - state: directory - -- name: Disable crash reporting - win_copy: - dest: "%PROGRAMDATA%\\RStudio\\crash-handler.conf" - content: crash-handling-enabled=0 - -- name: Disable update notifications - win_copy: - dest: "%PROGRAMDATA%\\RStudio\\rstudio-prefs.json" - content: { "check_for_updates": false } - -#- name: Install packages -# win_command: Rscript - -# args: -# stdin: | -# install.packages(c("tidyverse", "lpSolveAPI", "igraph", "quadprog", "GenSA", "lattice", "tabuSearch", "MASS", "e1071", "metaheuristicOpt", "DEoptim", "DEoptimR") , repos = "http://cran.rstudio.com") -# install.packages(c("rpart", "rpart.plot", "nnet", "CORElearn", "e1071", "randomForest", "kernlab", "kknn", "neuralnet", "keras", "cluster", "RSNNS", "NMF", "class", "reshape2", "arules", "viridisLite", "arulesViz", "bnlearn", "ipred", "adabag", "caret", "smotefamily", "graphics", "aplpack", "Radviz") , repos = "http://cran.rstudio.com") - - name: Find R directory win_find: paths: C:\Program Files\R @@ -36,6 +10,11 @@ file_type: directory register: base +- name: Add R to path + win_path: + elements: + - "{{ base.files[0].path }}\\bin" + - name: Find installed R libraries win_find: paths: "{{ base.files[0].path }}\\library" @@ -85,3 +64,22 @@ - tabuSearch - tidyverse - viridisLite + +- name: Install RStudio + win_chocolatey: + name: r.studio + +- name: Create configuration directory + win_file: + path: "%PROGRAMDATA%\\RStudio" + state: directory + +- name: Disable crash reporting + win_copy: + dest: "%PROGRAMDATA%\\RStudio\\crash-handler.conf" + content: crash-handling-enabled=0 + +- name: Disable update notifications + win_copy: + dest: "%PROGRAMDATA%\\RStudio\\rstudio-prefs.json" + content: { "check_for_updates": false } diff --git a/roles/winroom/tasks/sagemath.yml b/roles/winroom/tasks/sagemath.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/sagemath.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/classroom/tasks/smlnj.yml b/roles/winroom/tasks/smlnj.yml similarity index 100% rename from roles/classroom/tasks/smlnj.yml rename to roles/winroom/tasks/smlnj.yml diff --git a/roles/winroom/tasks/stm32cube.yml b/roles/winroom/tasks/stm32cube.yml new file mode 100644 index 0000000..15f430f --- /dev/null +++ b/roles/winroom/tasks/stm32cube.yml @@ -0,0 +1,23 @@ +- name: Check WinIDEA install status + win_stat: + path: C:\iSYSTEM\winIDEA9\winIDEA.exe + register: file + +- when: not file.stat.exists + block: + - name: Install CubeIDE + win_package: + path: "D:\\RAVINOR\\st-stm32cubeide_1.10.1_12716_20220707_0928_x86_64.exe" + arguments: /S + + - name: Set CubeIDE default workspace + win_lineinfile: + path: C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE\stm32cubeide.ini + regexp: "osgi.instance.area.default" + line: "-Dosgi.instance.area.default=D:/RAVINOR/CubeIDE_Workspace" + + # Replace -installIU... with -list to get available packages. + - name: Install QEMU + win_command: stm32cubeidec.exe -application org.eclipse.equinox.p2.director -nosplash -repository https://download.eclipse.org/embed-cdt/updates/v6/ -installIU org.eclipse.embedcdt.debug.gdbjtag.qemu.feature.group + args: + chdir: C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE diff --git a/roles/classroom/tasks/swi-prolog.yml b/roles/winroom/tasks/swi-prolog.yml similarity index 100% rename from roles/classroom/tasks/swi-prolog.yml rename to roles/winroom/tasks/swi-prolog.yml diff --git a/roles/classroom/tasks/thonny.yml b/roles/winroom/tasks/thonny.yml similarity index 92% rename from roles/classroom/tasks/thonny.yml rename to roles/winroom/tasks/thonny.yml index 92c2686..6a14128 100644 --- a/roles/classroom/tasks/thonny.yml +++ b/roles/winroom/tasks/thonny.yml @@ -1,4 +1,3 @@ -# TODO switch to chocolatey once they upgrade to Thonny≥4 - name: Set Thonny version set_fact: target_version: 4.0.1 diff --git a/roles/winroom/tasks/unity.yml b/roles/winroom/tasks/unity.yml new file mode 100644 index 0000000..1a2cdf4 --- /dev/null +++ b/roles/winroom/tasks/unity.yml @@ -0,0 +1,8 @@ +# TODO Figure out license stuff. +- name: Install Unity Hub + win_chocolatey: + name: unity-hub + +- name: Install Unity + win_chocolatey: + name: unity diff --git a/roles/winroom/tasks/util.yml b/roles/winroom/tasks/util.yml new file mode 100644 index 0000000..6366cd0 --- /dev/null +++ b/roles/winroom/tasks/util.yml @@ -0,0 +1,6 @@ +- include_tasks: 7zip.yml +- include_tasks: chrome.yml +- include_tasks: firefox.yml +- include_tasks: libreoffice.yml +- include_tasks: msys2.yml +- include_tasks: vlc.yml diff --git a/roles/classroom/tasks/virtualbox.yml b/roles/winroom/tasks/virtualbox.yml similarity index 100% rename from roles/classroom/tasks/virtualbox.yml rename to roles/winroom/tasks/virtualbox.yml diff --git a/roles/winroom/tasks/visual2.yml b/roles/winroom/tasks/visual2.yml new file mode 100644 index 0000000..df47755 --- /dev/null +++ b/roles/winroom/tasks/visual2.yml @@ -0,0 +1,32 @@ +- name: Set Visual2 version + set_fact: + target_version: "1.06.10" + +- name: Check Visual2 install status + win_stat: + path: "%ProgramFiles%\\VisUAL2\\VisUAL2.exe" + register: file + +- when: not file.stat.exists + block: + - name: Download Visual2 + win_get_url: + url: https://github.com/tomcl/V2releases/releases/download/{{ target_version }}/visual2-win32-x64.zip + dest: 'C:\' + register: download + + - name: Create Visual2 directory + win_file: + path: "%ProgramFiles%\\VisUAL2" + state: directory + + - name: Install Visual2 + win_unzip: + src: "{{ download.dest }}" + dest: "%ProgramFiles%\\VisUAL2" + delete_archive: yes + + - name: Create Visual2 shortcut + win_shortcut: + src: "%ProgramFiles%\\Visual2\\VisUAL2.exe" + dest: "C:\\Users\\Public\\Desktop\\VisUAL2.lnk" diff --git a/roles/winroom/tasks/visual_studio.yml b/roles/winroom/tasks/visual_studio.yml new file mode 100644 index 0000000..27bcd8a --- /dev/null +++ b/roles/winroom/tasks/visual_studio.yml @@ -0,0 +1,3 @@ +- name: Install Visual Studio 2022 Build Tools + win_chocolatey: + name: visualstudio2022buildtools diff --git a/roles/winroom/tasks/vivado.yml b/roles/winroom/tasks/vivado.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/vivado.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/winroom/tasks/vlc.yml b/roles/winroom/tasks/vlc.yml new file mode 100644 index 0000000..a3ba667 --- /dev/null +++ b/roles/winroom/tasks/vlc.yml @@ -0,0 +1,3 @@ +- name: Install VLC + win_chocolatey: + name: vlc diff --git a/roles/classroom/tasks/vmware-player.yml b/roles/winroom/tasks/vmware_player.yml similarity index 100% rename from roles/classroom/tasks/vmware-player.yml rename to roles/winroom/tasks/vmware_player.yml diff --git a/roles/winroom/tasks/vscode.yml b/roles/winroom/tasks/vscode.yml new file mode 100644 index 0000000..675099a --- /dev/null +++ b/roles/winroom/tasks/vscode.yml @@ -0,0 +1,9 @@ +# TODO set location for .vscode to H: +- name: Install VS Code + win_chocolatey: + name: vscode.install + +# TODO I don’t think this works. +- name: Install VS Code extensions + win_chocolatey: + name: vscode-python diff --git a/roles/classroom/tasks/weka.yml b/roles/winroom/tasks/weka.yml similarity index 100% rename from roles/classroom/tasks/weka.yml rename to roles/winroom/tasks/weka.yml diff --git a/roles/winroom/tasks/wfdb.yml b/roles/winroom/tasks/wfdb.yml new file mode 100644 index 0000000..4640904 --- /dev/null +++ b/roles/winroom/tasks/wfdb.yml @@ -0,0 +1 @@ +# TODO diff --git a/roles/winroom/tasks/winidea.yml b/roles/winroom/tasks/winidea.yml new file mode 100644 index 0000000..aa4b9c8 --- /dev/null +++ b/roles/winroom/tasks/winidea.yml @@ -0,0 +1,33 @@ +- name: Check WinIDEA install status + win_stat: + path: C:\iSYSTEM\winIDEA9\winIDEA.exe + register: file + +- when: not file.stat.exists + block: + - name: Install WinIDEA + win_package: + path: "https://www.isystem.com/downloads/winIDEA/setup/winIDEA(x64)9_21_110_138559.exe" + arguments: /q + + - name: Download QEMU + win_get_url: + url: "https://www.isystem.si/SWUpdates/qemu/qemu.7z" + dest: C:\iSYSTEM\winIDEA9 + + - name: Unpack QEMU + win_command: 7z x qemu.7z + args: + chdir: "C:\\iSYSTEM\\winIDEA9" + + - name: Download GCC + win_get_url: + url: "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.zip" + dest: C:\iSYSTEM\winIDEA9 + register: download + + - name: Unpack GCC + win_unzip: + src: "{{ download.dest }}" + dest: C:\iSYSTEM\winIDEA9\gcc + delete_archive: yes diff --git a/roles/classroom/tasks/wireshark.yml b/roles/winroom/tasks/wireshark.yml similarity index 100% rename from roles/classroom/tasks/wireshark.yml rename to roles/winroom/tasks/wireshark.yml diff --git a/setup.yml b/setup.yml index 844d1fd..8a735f8 100644 --- a/setup.yml +++ b/setup.yml @@ -1,3 +1,3 @@ - hosts: classroom roles: - - classroom + - winroom