Izveden refactor iz taskov v role

This commit is contained in:
Polz 2023-09-11 22:30:48 +02:00
parent 747438dedf
commit a35460a57b
317 changed files with 2761 additions and 50 deletions

View file

@ -1,5 +1,8 @@
Ansible playbooks for deploying classroom computers. Run with something like:
ansible-playbook --user <AD admin> --ask-pass \
--become --become-method=runas --become-user=<local admin>
--inventory hosts setup.yml
--become-user=<local admin>
--inventory hosts winsetup.yml
ansible-playbook --user <local admin> --ask-pass \
--inventory hosts linsetup.yml

View file

@ -5,5 +5,6 @@
ansible_port: 1001
ansible_become_pass: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
ansible_connection: 'ssh'
roles:
- linroom
- all_classes

View file

@ -0,0 +1,4 @@
- name: Install 7zip
apt:
name: 7zip
state: latest

View file

@ -0,0 +1,18 @@
- name: Install 7-zip
win_chocolatey:
name: 7zip
register: install
- when: install.changed
block:
- name: Create 7-zip filetype
win_command: cmd.exe /c ftype 7-zip=%ProgramFiles%\7-zip\7zFM.exe
- name: Associate 7-zip with archive filetypes
win_command: cmd.exe /c assoc .{{ item }}=7-zip
loop:
- gz
- tar
- targz
- rar
- 7z

View file

@ -0,0 +1,7 @@
# Analiza algoritmov in hevristično reševanje problemov
# matej.piculin@fri.uni-lj.si
# Windows, Java JDK, Eclipse, R, RStudio
dependencies:
- role: rstudio
- role: eclipse
- role: jdk

View file

@ -0,0 +1,9 @@
# Algoritmi in podatkovne strukture 1
# tomaz.hocevar@fri.uni-lj.si, bojan.zunkovic@fri.uni-lj.si, polz@fri.uni-lj.si
# Windows, Java JDK, Eclipse
# - role: JDK
# - role: Eclipse
dependencies:
- role: c_development
- role: vscode

View file

@ -0,0 +1,5 @@
# Aktualno raziskovalno področje 1
# Veljko.Pejovic@fri.uni-lj.si
# Android Studio
dependencies:
- role: android_studio

View file

@ -0,0 +1,6 @@
# 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
dependencies:
- role: wireshark
- role: vmware_player

View file

@ -0,0 +1,6 @@
# Digitalna forenzika
# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si
# Windows, GNU/Linux, GNS3, VirtualBox
dependencies:
- role: GNS3
- role: virtualbox

View file

@ -0,0 +1,5 @@
# Digitalno načrtovanje
# Nejc.Ilc@fri.uni-lj.si
# Windows, Vivado 2022.1
dependencies:
- role: vivado

View file

@ -0,0 +1,8 @@
# Digitalno procesiranje signalov
# Aleks.Huc@fri.uni-lj.si
# Windows, GNU/Linux, Matlab, wfdb, Octave, Audacity
dependencies:
- role: matlab
- role: wfdb
- role: octave
- role: audacity

View file

@ -0,0 +1,5 @@
# Digitalna vezja
# Miha.Moskon@fri.uni-lj.si
# Windows, Logisim, Logisim Evolution
dependencies:
- role: logisim

View file

@ -0,0 +1,7 @@
# Elektronsko poslovanje
# David.Jelenc@fri.uni-lj.si
# Windows, VirtualBox, Android Studio
#
dependencies:
- role: virtualbox
- role: android_studio

View file

@ -0,0 +1,12 @@
# 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
#
dependencies:
- role: vscode
- role: python3
- role: racket
- role: emacs
- role: smlnj

View file

@ -0,0 +1,10 @@
# 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)
#
dependencies:
- role: blender
- role: adobe_cs
- role: inkscape
- role: gimp

View file

@ -0,0 +1,10 @@
# Informacijski sistemi
# Miha.Grohar@fri.uni-lj.si
# Windows, GNU/Linux, Docker, VS Code, dotnet6 SDK, GIT, Android Studio
dependencies:
- role: docker
- role: vscode
- role: dotnet6
- role: git
- role: android_studio

View file

@ -0,0 +1,7 @@
# Informacijska varnost in zasebnost
# David.Jelenc@fri.uni-lj.si
# Java JDK, IntelliJ IDEA, VirtualBox
dependencies:
- role: jdk
- role: idea
- role: virtualbox

View file

@ -0,0 +1,8 @@
# Komunikacija človek računalnik
# Ales.Smrdel@fri.uni-lj.si
# Java JDK, Matlab, wfdb, Apache NetBeans
dependencies:
- role: jdk
- role: matlab
- role: wfdb
- role: netbeans

View file

@ -0,0 +1,6 @@
# Komunikacijski protokoli in omrežna varnost
# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si
# Windows, GNU/Linux, GNS3, VirtualBox
dependencies:
- role: gns3
- role: virtualbox

View file

@ -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
dependencies:
- role: sagemath
- role: jupyter
- role: openssl

View file

@ -0,0 +1,5 @@
# Modeliranje računalniških omrežij
# Miha.Janez@fri.uni-lj.si
# OMNeT++, INET Framework
dependencies:
- role: omnetpp

View file

@ -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)
dependencies:
- role: blender
- role: adobe_cs
- role: processing
- role: inkscape
- role: gimp

View file

@ -0,0 +1,8 @@
# 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
dependencies:
- role: vivado

View file

@ -0,0 +1,6 @@
# Numerična matematika
# Martin.Vuk@fri.uni-lj.si
# VS Code, Julia
dependencies:
- role: vscode
- role: julia

View file

@ -0,0 +1,5 @@
# Nekonvencionalne platforme in metode procesiranja
# Miha.Janez@fri.uni-lj.si, Miha.Moskon@fri.uni-lj.si
# QCADesigner-E
dependencies:
- role: qcadesigner-e

View file

@ -0,0 +1,5 @@
# Napredna računalniška grafika
# Ziga.Lesar@fri.uni-lj.si
# Windows, Build Tools for Visual Studio 2022
dependencies:
- role: visual_studio

View file

@ -0,0 +1,6 @@
# Obdelava biomedicinskih signalov in slik
# Ziga.Pirnar@fri.uni-lj.si
# GNU/Linux, Matlab, wfdb
dependencies:
- role: matlab
- role: wfdb

View file

@ -0,0 +1,5 @@
# Osnove digitalnih vezij
# Ziga.Pusnik@fri.uni-lj.si, Miran.Koprivec@fri.uni-lj.si
# Windows, Logisim, Logisim Evolution
dependencies:
- role: logisim

View file

@ -0,0 +1,9 @@
# 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)
dependencies:
- role: blender
- role: adobe_cs
- role: inkscape
- role: gimp

View file

@ -0,0 +1,10 @@
# Organizacija računalnikov
# Robert.Rozman@fri.uni-lj.si
# Windows, Logisim, Logisim Evolution, RAVINOR, CubeIDE + QEMU Embedded plugin
dependencies:
- role: logisim
- role: stm32cube
- role: ninja
- role: cmake
- role: gcc-arm
# TODO: RAVINOR, CubeIDE

View file

@ -0,0 +1,6 @@
# Osnove Računalniških Sistemov
# Patricio.Bulic@fri.uni-lj.si
#
dependencies:
- role: vscode
- role: sifive

View file

@ -0,0 +1,5 @@
# 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
dependencies:
- role: virtualbox

View file

@ -0,0 +1,3 @@
# Odločitveni sistemi
# Martin.Mozina@fri.uni-lj.si
# Windows

View file

@ -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
dependencies:
- role: orange
- role: weka
- role: bayesfusion

View file

@ -0,0 +1,8 @@
# Programiranje 2
# bostjan.slivnik@fri.uni-lj.si
# gedit, vscode, pdf viewer (evince), gcc, g++, make, JDK
dependencies:
- role: jdk
- role: gedit
- role: vscode
- role: c_development

View file

@ -0,0 +1,7 @@
# Programiranje 2
# Tomaz.Dobravec@fri.uni-lj.si
# Windows, Java JDK, IntelliJ IDEA, Apache NetBeans
dependencies:
- role: jdk
- role: idea
- role: netbeans

View file

@ -0,0 +1,5 @@
# Procesna avtomatika
# Nejc.Ilc@fri.uni-lj.si
# Windows, VMware Workstation 16.2.4 Player
dependencies:
- role: vmware_player

View file

@ -0,0 +1,13 @@
# 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++
dependencies:
- role: eclipse
- role: dotnet6
- role: jupyter
- role: jdk
- role: powerdesigner
- role: pyodbc
- role: mysql_workbench
- role: mysql-odbc-connector
- role: notepad++

View file

@ -0,0 +1,8 @@
# Podatkovne baze 2
# Aljaz.Zrnec@fri.uni-lj.si
# Windows
# Podatkovne baze 2
# Aljaz.Zrnec@fri.uni-lj.si
# Power designer 12.5
dependencies:
- role: powerdesigner

View file

@ -0,0 +1,5 @@
# Programski jezik C
# Tomaz.Dobravec@fri.uni-lj.si
# Windows, Pelles C
dependencies:
- role: pelles-c

View file

@ -0,0 +1,11 @@
# Principi programskih jezikov
# Klemen.Klanjscek@fri.uni-lj.si
# Windows, GNU/Linux, VS Code, Ocaml, Eclipse, Haskell, SWI-Prolog, rlwrap
dependencies:
- role: vscode
- role: ocaml
- role: eclipse
- role: haskell
- role: swi-prolog
- role: rlwrap

View file

@ -0,0 +1,6 @@
# Porazdeljeni sistemi
# Davor.Sluga@fri.uni-lj.si
# Windows, VS Code, golang
dependencies:
- role: vscode
- role: golang

View file

@ -0,0 +1,6 @@
# Programiranje specifičnih platform
# Veljko.Pejovic@fri.uni-lj.si
# Android Studio, Arduino IDE
dependencies:
- role: android_studio
- role: arduino

View file

@ -0,0 +1,5 @@
# Planiranje in upravljanje informatike
# damjan.fujs@fri.uni-lj.si
# Planiranje in upravljanje informatike (VS)
dependencies:
- role: projectlibre

View file

@ -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
dependencies:
- role: stm32cube
- role: winidea
- role: visual2

View file

@ -0,0 +1,5 @@
# Računalniška grafika in tehnologija iger
# Ziga.Lesar@fri.uni-lj.si
# Windows, Unity
dependencies:
- role: unity

View file

@ -0,0 +1,5 @@
# Razvoj informacijskih sistemov
# Aljaz.Zrnec@fri.uni-lj.si
# Power designer 12.5
dependencies:
- role: powerdesigner

View file

@ -0,0 +1,10 @@
# 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
dependencies:
- role: docker
- role: gns3
- role: vscode
- role: wireshark
- role: jdk

View file

@ -0,0 +1,10 @@
# 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
dependencies:
- role: docker
- role: gns3
- role: vscode
- role: wireshark
- role: jdk

View file

@ -0,0 +1,7 @@
# 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
- role: solidworks

View file

@ -0,0 +1,8 @@
# Računalniška zvočna produkcija
# Aleks.Huc@fri.uni-lj.si
# IntelliJ IDEA, Audacity, GIT
dependencies:
- role: git
- role: audacity
- role: IDEA

View file

@ -0,0 +1,7 @@
# Spletno Programiranje
# dejan.lavbic@fri.uni-lj.si
# git, docker, Node.js + npm, Visual Studio Code
dependencies:
- role: git
- role: docker
- role: nodejs

View file

@ -0,0 +1,6 @@
# Spletne tehnologije
# David.Jelenc@fri.uni-lj.si
# Windows, VS Code, XAMPP
dependencies:
- role: vscode
- role: xampp

View file

@ -0,0 +1,5 @@
# Strojno učenje
# matej.piculin@fri.uni-lj.si, Petar.Vracar@fri.uni-lj.si
# Windows, R, RStudio
dependencies:
- role: rstudio

View file

@ -0,0 +1,5 @@
# Tehnologija iger in navidezna resničnost
# Bojan.Klemenc@fri.uni-lj.si
# macOS, Xcode
dependencies:
- role: xcode

View file

@ -0,0 +1,6 @@
# Teorija informacij in sistemov
# Davor.Sluga@fri.uni-lj.si
# Windows, VS Code, Python 3
dependencies:
- role: vscode
- role: thonny

View file

@ -0,0 +1,13 @@
# 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++
dependencies:
- role: eclipse
- role: dotnet6
- role: jupyter
- role: jdk
- role: powerdesigner
- role: mysql_workbench
- role: mysql-odbc-connector
- role: notepad++

View file

@ -0,0 +1,5 @@
# Umetna inteligenca
# Petar.Vracar@fri.uni-lj.si
# Windows, R, RStudio
dependencies:
- role: rstudio

View file

@ -0,0 +1,9 @@
# 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
dependencies:
- role: jdk
- role: idea
- role: javafx
- role: gui_development
- role: scenebuilder

View file

@ -0,0 +1,5 @@
# Umetno zaznavanje
# jon.muhovic@fe.uni-lj.si
# Python3, Python 3
dependencies:
- role: python3

View file

@ -0,0 +1,9 @@
# Vhodno-izhodne naprave
# Robert.Rozman@fri.uni-lj.si
# Windows, Logisim Evolution, RAVINOR, WinIdea 9.12.256 (FRISMS kompatibilna), LTSpice
dependencies:
- role: logisim
- role: winidea-frisms
- role: winidea
- role: ltspice

View file

@ -0,0 +1,14 @@
# Varnost Podatkov
# david.jelenc@fri.uni-lj.si
# Python (in standardno pripadajoča šara jupyter lab) in IntelliJ IDEA PyCharm CE
# PyCharm
# Java (kar je bilo lani bo ok) in IntelliJ IDEA CE
# maven
# git
dependencies:
- role: git
- role: maven
- role: idea
- role: jdk
- role: jupyter
- role: pycharm

View file

@ -0,0 +1,6 @@
# 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
dependencies:
- role: vscode
- role: visual_studio

View file

@ -0,0 +1,5 @@
# Visoko zmogljivo računanje
# Davor.Sluga@fri.uni-lj.si
# Windows, VS Code
dependencies:
- role: vscode

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 @@
# TODO ugotovi, kaj narediti z Adobe CS

View file

@ -0,0 +1 @@
# TODO ugotovi, kaj narediti z Adobe CS

View file

@ -0,0 +1,62 @@
dependencies:
- role: fri_base
- role: AAHRP-63263
- role: APS1-63279
- role: ARP1-63545C
- role: BMO-63259
- role: DF-63530
- role: DN-63260
- role: DPS-63744
- role: DV-63718
- role: EP-63249
- role: FP-63507
- role: GO-63715
- role: IS-63714
- role: IVZ-63521
- role: KCR-63550
- role: KPOV-63716
- role: KRV-63528
- role: MRO-63257
- role: MV-63288
- role: NDN-63729
- role: NM-63522
- role: NPMP-63512
- role: NRG-63553
- role: OBSS-63514
- role: ODV-63204
- role: OO-63271
- role: OR-63717
- role: ORS-63218
- role: OS-63709
- role: OS-63741
- role: OUI-63214
- role: P2-63278
- role: P2-63706
- role: PA-63737
- role: PB2-63713
- role: PB-63707
- role: PJC-63769
- role: PPJ-63220
- role: PS-63261
- role: PSP-63287
- role: PUI-63768
- role: RA-63703
- role: RGTI-63269
- role: RIS-63252
- role: RK-63209
- role: RK-63708
- role: RPOI-90066
- role: RZP-63523
- role: SP-63255
- role: ST-63727
- role: SU-63519
- role: TINR-63740
- role: TIS-63216
- role: TUP-63226
- role: UI-63720
- role: UV-63721
- role: UZ-63267
- role: VN-63728
- role: VP-63775
- role: VPSA-63735
- role: VZR-63543

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,13 @@
- name: Install Android Studio
block:
- name: Create destination for Android Studio
file:
path: /opt/Android_Studio
state: directory
- name: Download and unpack Android Studio
unarchive:
# src: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2021.3.1.16/android-studio-2021.3.1.16-linux.tar.gz
src: https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.3.1.19/android-studio-2022.3.1.19-linux.tar.gz
creates: /opt/Android_Studio/android-studio/build.txt
dest: /opt/Android_Studio
remote_src: yes

View file

@ -0,0 +1,76 @@
- 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
- name: Check HAXM install status
win_stat:
path: "%ProgramFiles%\\Intel\\HAXM"
register: file
- when: not file.stat.exists
block:
- name: Download HAXM
win_get_url:
url: https://github.com/intel/haxm/releases/download/v7.7.1/haxm-windows_v7_7_1.zip
dest: C:\
register: download
- name: Unzip HAXM
win_unzip:
src: "{{ download.dest }}"
dest: C:\haxm
- name: Install HAXM
win_command: C:\haxm\silent_install.bat
- name: Remove temporaries
win_file:
path: C:\haxm
state: absent

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,10 @@
- name: create destination
file:
path: /opt/Arduino
state: directory
- name: unpack Arduino
unarchive:
src: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Linux_64bit.zip
dest: /opt/Arduino
remote_src: yes

View file

@ -0,0 +1,7 @@
- name: Install Arduino IDE
win_package:
path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.exe
arguments: /S /AllUsers
creates_path: "%ProgramFiles%\\Arduino IDE\\Arduino IDE.exe"
# TODO check if anything else is needed (esp8266com)?

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,5 @@
- name: Install Audacity
apt:
name: audacity
state: latest

View file

@ -0,0 +1,3 @@
- name: Install Audacity
win_chocolatey:
name: audacity

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,10 @@
# TODO install BayesFusion.yml
# https://download.bayesfusion.com/files.html?category=Academia#GeNIe
- name: Install Wine
apt:
name: wine-development
state: latest
- name: Install Wine binfmt support
apt:
name: wine-binfmt
state: latest

View file

@ -0,0 +1,5 @@
- name: Install BayesFusion
win_package:
path: "{{ installers }}\\genie-academic-setup-4.0.1922-x86.exe"
arguments: /VerySilent
creates_path: "%ProgramFiles(x86)%\\GeNIe 4.0 Academic\\genie.exe"

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,4 @@
- name: Install blender
apt:
name: blender
state: latest

View file

@ -0,0 +1,3 @@
- name: Install Blender
win_package:
path: https://ftp.nluug.nl/pub/graphics/blender/release/Blender3.3/blender-3.3.0-windows-x64.msi

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,10 @@
- name: Install C/C++ development tools
apt:
name:
- gcc
- make
- automake
- g++
- gdb
- cmake
state: latest

View file

@ -0,0 +1,3 @@
- name: Do not install C development tools
debug:
msg: "Do not install C development tools"

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,4 @@
- name: Do NOT install Chrome
apt:
name: chromium
state: latest

View file

@ -0,0 +1,10 @@
- name: Install Chrome
win_chocolatey:
name: googlechrome
- name: Disable Chrome updates
win_regedit:
path: HKLM:\SOFTWARE\Policies\Google\Update
name: AutoUpdateCheckPeriodMinutes
type: dword
data: 0

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,4 @@
- name: Install cmake
apt:
name: cmake
state: latest

View file

@ -0,0 +1,3 @@
- name: Do not install cmake
debug:
msg: "Do not install cmake"

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 @@
- name: "Install Podman"
apt:
name: podman
state: latest
- name: "Install containerd"
apt:
name: containerd
state: latest
- name: "Install docker"
apt:
name: docker
state: latest
- name: "Install docker-compose"
apt:
name: docker-compose
state: latest
# TODO uredi skupine, da bodo studentje lahko docker tudi uporabljali

View file

@ -0,0 +1 @@
# TODO

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,4 @@
- name: "Install Dotnet 6.0"
apt:
name: dotnet6
state: latest

View file

@ -0,0 +1,3 @@
- name: Install .NET 6 SDK
win_chocolatey:
name: dotnet-6.0-sdk

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,16 @@
- name: Install Eclipse snap
community.general.snap:
name:
- eclipse
classic: true
# - name: Install Eclipse from tarball
# block:
# - name: Create destination for Eclipse
# file:
# path: /opt/Eclipse
# state: directory
# - name: Download and unpack Eclipse
# unarchive:
# src: https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-09/R/eclipse-inst-jre-linux64.tar.gz
# dest: /opt/Eclipse
# remote_src: yes

Some files were not shown because too many files have changed in this diff Show more