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,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,9 @@
# 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
- role: cp210x-vcp-drivers-win10

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,7 @@
# Osnove Informacijskih Sistemov
# 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,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,11 @@
# Organizacija računalnikov
# Robert.Rozman@fri.uni-lj.si
# Windows, Logisim, Logisim Evolution, RAVINOR, CubeIDE + QEMU Embedded plugin
dependencies:
- role: logisim
- role: stm32cube
- role: stm32duino
- 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,13 @@
# 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: stm32duino
- role: winidea
- role: winidea-frisms
- role: git
- role: visual2
- role: algobuilder
- role: putty
- role: pulseview

25
roles/README.md Normal file
View file

@ -0,0 +1,25 @@
# Recepti za nameščanje programske opreme
Recepti za nameščanje programske opreme v učilnicah FRI se nahajajo v:
- linroom/tasks za GNU/Linux
- windows/tasks za Microsoft Windows
Vsako leto predvidoma popravimo recepte - sezname potrebnih programov in recepte za nameščanje le-teh.
## Zahteve za predmet
V imeniku tasks za vsak predmet obstaja YAML datoteka s seznamom zahtevanih programov.
Na primer, za predmet Komunikacijski protokoli in omrežna varnost obstaja datoteka KPOV-63716.yml.
V datoteki je po ena vrstica z besedo "include" za vsak program, ki ga pri predmetu potrebujemo.
Trenutno za vsak predmet obstajata po dve datoteki - ena pod linroom/tasks, druga pod winroom/tasks.
## Nameščanje posameznega programa
Datoteke za nameščanje programov se prav tako nahajajo v imeniku tasks.
Na primer, za nameščanje Microsoftovega VSCode, obstaja datoteka vscode.yml.
Za nameščanje pod GNU/Linux in Windows sta datoteki seveda različni.
Ker nekateri programi niso javno dostopni, se pri nekaterih receptih uporabljajo datoteke z datotečnega strežnika UcilniceSMB. Kako to popraviti, je zaenkrat odprto vprašanje.

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,8 @@
# 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
dependencies:
- 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,8 @@
# Spletno Programiranje
# dejan.lavbic@fri.uni-lj.si
# git, docker, Node.js + npm, Visual Studio Code
dependencies:
- role: git
- role: docker
- role: nodejs
- role: webstorm

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,11 @@
# Strojno učenje
# matej.piculin@fri.uni-lj.si, Petar.Vracar@fri.uni-lj.si
# Windows, R, RStudio
dependencies:
- role: python3
- role: pandas
- role: scipy
- role: xgboost
- role: statsmodels
- role: tensorflow
- role: statsmodels

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,34 @@
- name: Enable create homedir on login
command: pam-auth-update --enable mkhomedir
become: true
- name: Check whether we already joined
command: /bin/bash -c "/usr/sbin/realm list"
register: realm_list_results
- name: Set OU
set_fact:
ou_path: "OU={{locations[0]}},OU=Ucilnice"
- name: Show state
debug:
msg: "Host: {{inventory_hostname}}, OU: {{ou_path}}"
# - import_tasks: ne_sysprep.yaml
- name: "Rename"
# Racunalnik najprej preimenujmo, da ne bosta v domeni obenem 2 z istim imenom
hostname:
name: "{{inventory_hostname}}"
register: hostname_res
- name: Join using realmd
expect:
command: realm join --user={{ad_join_user}} --computer-ou={{ou_path}} FRI1.UNI-LJ.SI
responses:
(?i)Password: "{{ad_join_password}}"
ignore_errors: yes
when: realm_list_results.stdout == ""
- name: Copy sssd config
template:
src: sssd.conf
dest: "/etc/sssd/sssd.conf"
owner: root
mode: 0600

View file

@ -0,0 +1,49 @@
- name: Set OU
set_fact:
ou_path: "OU={{locations[0]}},OU=Ucilnice,DC=fri1,DC=uni-lj,DC=si"
- name: "Rename"
# Racunalnik najprej preimenujmo, da ne bosta v domeni obenem 2 z istim imenom
win_hostname:
name: "{{inventory_hostname}}"
register: hostname_res
- name: "Reboot after hostname change"
win_reboot:
when: hostname_res.reboot_required
- name: Stop Windows Update Service
win_service:
name: wuauserv
state: stopped
- name: Clear WSUS ID from registry
win_regedit:
path: HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
name: "{{item}}"
state: absent
delete_key: yes
with_items:
- PingID
- AccountDomainSid
- SusClientId
- SusClientIDValidation
- name: Start Windows Update Service
win_service:
name: wuauserv
state: started
- name: "Join domain"
win_domain_membership:
domain_admin_user: "{{adjoin_user}}"
domain_admin_password: "{{adjoin_password}}"
dns_domain_name: "{{domain_name}}"
domain_ou_path: "{{ou_path}}"
hostname: "{{inventory_hostname}}"
state: domain
register: domain_state
- name: Reset WSUS authorization
win_command: wuauclt.exe /resetauthorization /detectnow
ignore_errors: yes
- name: Update windows
win_command: wuauclt.exe /updatenow
ignore_errors: yes
- name: Reboot
win_command: "shutdown /r"
when: domain_state.reboot_required

View file

@ -0,0 +1,31 @@
[sssd]
config_file_version = 2
domains = fri1.uni-lj.si
enable_files_domain = False
services = nss, pam
[nss]
filtered_groups = root
filtered_users = root
reconnection_retries = 3
[pam]
reconnection_retries = 3
[domain/fri1.uni-lj.si]
ad_domain = fri1.uni-lj.si
ad_server = dcv1fri1.fri1.uni-lj.si,dcv2fri1.fri1.uni-lj.si
ad_maximum_machine_account_password_age = 0
ad_gpo_access_control = permissive
ad_enabled_domains = fri1.uni-lj.si, student.uni-lj.si, fkkt1.uni-lj.si, ef1.uni-lj.si, fe1.uni-lj.si, ff.uni-lj.si, fmf.uni-lj.si, fu.uni-lj.si, pef.uni-lj.si
krb5_realm = FRI1.UNI-LJ.SI
ad_gpo_ignore_unreadable = True
realmd_tags = manages-system joined-with-adcli
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
access_provider = ad

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,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 AlgoBuilder
debug:
msg: "Do not install AlgoBuilder on Linux"

View file

@ -0,0 +1,30 @@
# TODO check install status
- name: Check AlgoBuilder install status
win_stat:
path: C:\Program Files (x86)\Thonny\thonny.exe
register: file
- when: not file.stat.exists
block:
- name: Download AlgoBuilder
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EZhqHxJoAfdEjdlMu0uGWGcBOqrT0vTVv2_nhynWZ3fOwQ?e=rcskhq&download=1" -O C:\AlgoBuilderSuite.exe
args:
creates: C:\AlgoBuilderSuite.exe
#win_get_url:
# follow_redirects: all
# http_agent: Wget/1.21.3
# url: https://unilj-my.sharepoint.com/:u:/r/personal/rozman_fri1_uni-lj_si/Documents/Arhiv/ImportantFiles/AlgoBuilderSuite.exe?download=1
# dest: C:\AlgoBuilderSuite.exe
#register: download
- name: Install AlgoBuilder
win_package:
path: C:\AlgoBuilderSuite.exe
# path: "{{ download.dest }}"
arguments: /Verysilent /AllUsers
- name: Remove temporary files
win_file:
path: C:\AlgoBuilderSuite.exe
# path: "{{ download.dest }}"
state: absent

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,2 @@
dependencies:
- role: msys2

View file

@ -0,0 +1,29 @@
AndroidSDK_packages:
- add-ons;addon-google_apis-google-24
- build-tools;34.0.0-rc3
- cmake;3.22.1
- cmdline-tools;latest
- emulator
- extras;android;m2repository
- extras;google;auto
- extras;google;google_play_services
- extras;google;instantapps
- extras;google;m2repository
- extras;google;market_apk_expansion
- extras;google;market_licensing
- extras;google;simulators
- extras;google;webdriver
- extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2
- extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2
- ndk-bundle
- patcher;v4
- platform-tools
- platforms;android-34
- platforms;android-32
- platforms;android-UpsideDownCakePrivacySandbox
- skiaparser;3
- sources;android-34
- system-images;android-34;google_apis;x86_64
- system-images;android-32;google_apis;x86_64
- system-images;android-34;google_apis_playstore;x86_64
- system-images;android-UpsideDownCakePrivacySandbox;google_apis_playstore;x86_64

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,37 @@
- 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
- name: Install Android Studio Command line tools
block:
- name: Create destination for Android Studio Command line tools
file:
path: /opt/Android_SDK
state: directory
- name: Download and unpack Android Studio Command line tools
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://dl.google.com/android/repository/commandlinetools-linux-10406996_latest.zip
creates: /opt/Android_SDK/cmdline-tools/lib/README
dest: /opt/Android_SDK
remote_src: yes
- name: Include Android SDK packages
include_vars: androidsdk_packages.yml
- name: Accept Android SDK package licenses
shell: yes | /opt/Android_SDK/cmdline-tools/bin/sdkmanager --sdk_root=/opt/Android_SDK --licenses
- name: Install Android SDK packages
command: /opt/Android_SDK/cmdline-tools/bin/sdkmanager --sdk_root=/opt/Android_SDK --install "{{ item }}"
loop: "{{ AndroidSDK_packages }}"

View file

@ -0,0 +1,84 @@
- 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: Include Android SDK packages
include_vars: androidsdk_packages.yml
- name: Install Android SDK
win_shell: |
{{ sdk_path }}\\cmdline-tools\\cmdline-tools\\bin\\sdkmanager --install "{{ item }}"
loop: "{{ AndroidSDK_packages }}"
# {{ sdk_path }}\\cmdline-tools\\cmdline-tools\\bin\\sdkmanager --install "{{ AndroidSDK_packages | join(' ') }}"
# {{ 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,25 @@
- name: create destination
file:
path: /opt/Arduino
state: directory
- name: unpack Arduino
unarchive:
src: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Linux_64bit.zip
dest: /opt/Arduino
remote_src: yes
- name: unpack Arduino-cli
unarchive:
src: https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz
dest: /opt/Arduino
remote_src: yes
creates: /opt/Arduino/arduino-cli
- name: Add symlink to /usr/local/bin
file:
src: /opt/Arduino/arduino-cli
path: /usr/local/bin/arduino-cli
state: link

View file

@ -0,0 +1,16 @@
- name: Install Arduino IDE
win_package:
# path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.exe
path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Windows_64bit.exe
arguments: /S /AllUsers
creates_path: "%ProgramFiles%\\Arduino IDE\\Arduino IDE.exe"
- name: Install Arduino-cli
win_package:
# path: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0_Windows_64bit.exe
path: https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.zip
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,8 @@
- name: Do not install C development tools
debug:
msg: "Do not install C development tools"
- name: Install MinGW
win_chocolatey:
name: mingw
state: latest

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,12 @@
- name: Add Chromium not-a-snap repository
apt_repository:
repo: ppa:xtradeb/apps
state: present
update_cache: True
validate_certs: False
- name: Install Chromium instead of Chrome
apt:
name: chromium-browser
state: latest

View file

@ -0,0 +1,11 @@
- name: Install Chrome
win_chocolatey:
name: googlechrome
ignore_checksums: True # TODO: re-enable checksums when the package is fixed
- 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'

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