From 10c3430a86445284aec393e59b64e111f3de0a69 Mon Sep 17 00:00:00 2001 From: Polz Date: Sat, 24 Sep 2022 02:13:49 +0200 Subject: [PATCH] Skripte za zahteve preimenovane v ista imena kot pri windows --- roles/linroom/tasks/AAHRP-63263.yml | 2 +- roles/linroom/tasks/BMO-63259.yml | 4 ++-- roles/linroom/tasks/FP-63507.yml | 4 ++-- roles/linroom/tasks/GNS3.yml | 1 - roles/linroom/tasks/IS-63714.yml | 2 +- roles/linroom/tasks/NM-63522.yml | 2 +- roles/linroom/tasks/OS-63709.yml | 2 +- roles/linroom/tasks/P2-63706.yml | 2 +- roles/linroom/tasks/PB-63707.yml | 4 ++-- roles/linroom/tasks/PJC-63769.yml | 2 +- roles/linroom/tasks/PPJ-63220.yml | 2 +- roles/linroom/tasks/PS-63261.yml | 2 +- roles/linroom/tasks/RK-63209.yml | 6 +++--- roles/linroom/tasks/RK-63708.yml | 6 +++--- roles/linroom/tasks/ST-63727.yml | 2 +- roles/linroom/tasks/SU-63519.yml | 2 +- roles/linroom/tasks/TIS-63216.yml | 2 +- roles/linroom/tasks/TUP-63226.yml | 4 ++-- roles/linroom/tasks/UI-63720.yml | 2 +- roles/linroom/tasks/VPSA-63735.yml | 2 +- roles/linroom/tasks/VZR-63543.yml | 2 +- roles/linroom/tasks/arduino.yml | 11 ++++++++++- roles/linroom/tasks/dotnet6.yml | 1 - roles/linroom/tasks/haskell.yml | 15 ++++++++++++++- roles/linroom/tasks/logisim.yml | 2 ++ roles/linroom/tasks/mysql-odbc-connector.yml | 5 +++++ roles/linroom/tasks/mysql_workbench.yml | 3 ++- roles/linroom/tasks/netbeans.yml | 2 +- roles/linroom/tasks/notepad++.yml | 1 + roles/linroom/tasks/ocaml.yml | 6 +++++- roles/linroom/tasks/pelles-c.yml | 1 + roles/linroom/tasks/racket.yml | 1 - roles/linroom/tasks/rlwrap.yml | 5 ++++- roles/linroom/tasks/rstudio.yml | 14 ++++++++++++++ roles/linroom/tasks/smlnj.yml | 13 +++++++++++++ roles/linroom/tasks/swi-prolog.yml | 9 ++++++++- roles/linroom/tasks/vscode.yml | 15 ++++++++++++++- roles/linroom/tasks/weka.yml | 4 ++++ roles/linroom/tasks/wfdb.yml | 1 - roles/linroom/tasks/wireshark.yml | 10 ++++++++++ 40 files changed, 136 insertions(+), 40 deletions(-) create mode 100644 roles/linroom/tasks/mysql-odbc-connector.yml create mode 100644 roles/linroom/tasks/notepad++.yml create mode 100644 roles/linroom/tasks/pelles-c.yml create mode 100644 roles/linroom/tasks/rstudio.yml create mode 100644 roles/linroom/tasks/smlnj.yml create mode 100644 roles/linroom/tasks/weka.yml create mode 100644 roles/linroom/tasks/wireshark.yml diff --git a/roles/linroom/tasks/AAHRP-63263.yml b/roles/linroom/tasks/AAHRP-63263.yml index 6ff5f42..4bab28f 100644 --- a/roles/linroom/tasks/AAHRP-63263.yml +++ b/roles/linroom/tasks/AAHRP-63263.yml @@ -1,6 +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: rstudio.yml - include_tasks: Eclipse.yml - include_tasks: JDK.yml diff --git a/roles/linroom/tasks/BMO-63259.yml b/roles/linroom/tasks/BMO-63259.yml index a415547..10c9e00 100644 --- a/roles/linroom/tasks/BMO-63259.yml +++ b/roles/linroom/tasks/BMO-63259.yml @@ -1,5 +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 +# Windows, VMware Workstation 16.2.4 Player, wireshark +- include_tasks: wireshark.yml - include_tasks: vmware_player.yml diff --git a/roles/linroom/tasks/FP-63507.yml b/roles/linroom/tasks/FP-63507.yml index 0303fa0..6c333c4 100644 --- a/roles/linroom/tasks/FP-63507.yml +++ b/roles/linroom/tasks/FP-63507.yml @@ -2,10 +2,10 @@ # 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: vscode.yml - include_tasks: python3.yml - include_tasks: racket.yml - include_tasks: emacs.yml -- include_tasks: SML_NJ.yml +- include_tasks: smlnj.yml diff --git a/roles/linroom/tasks/GNS3.yml b/roles/linroom/tasks/GNS3.yml index f78a551..1e42fc6 100644 --- a/roles/linroom/tasks/GNS3.yml +++ b/roles/linroom/tasks/GNS3.yml @@ -1,4 +1,3 @@ -# TODO popravi url - name: Add GNS3 repository apt_repository: repo: ppa:gns3/ppa diff --git a/roles/linroom/tasks/IS-63714.yml b/roles/linroom/tasks/IS-63714.yml index 2b00db5..b4f36eb 100644 --- a/roles/linroom/tasks/IS-63714.yml +++ b/roles/linroom/tasks/IS-63714.yml @@ -3,7 +3,7 @@ # Windows, GNU/Linux, Docker, VS Code, dotnet6 SDK, GIT, Android Studio - include_tasks: docker.yml -- include_tasks: VSCode.yml +- include_tasks: vscode.yml - include_tasks: dotnet6.yml - include_tasks: git.yml - include_tasks: Android_Studio.yml diff --git a/roles/linroom/tasks/NM-63522.yml b/roles/linroom/tasks/NM-63522.yml index b067e25..abc6437 100644 --- a/roles/linroom/tasks/NM-63522.yml +++ b/roles/linroom/tasks/NM-63522.yml @@ -1,5 +1,5 @@ # Numerična matematika # Martin.Vuk@fri.uni-lj.si # VS Code, Julia -- include_tasks: VSCode.yml +- include_tasks: vscode.yml - include_tasks: julia.yml diff --git a/roles/linroom/tasks/OS-63709.yml b/roles/linroom/tasks/OS-63709.yml index f4351d7..44edcd6 100644 --- a/roles/linroom/tasks/OS-63709.yml +++ b/roles/linroom/tasks/OS-63709.yml @@ -1,4 +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 +- include_tasks: virtualbox.yml diff --git a/roles/linroom/tasks/P2-63706.yml b/roles/linroom/tasks/P2-63706.yml index ba0b049..b1004e6 100644 --- a/roles/linroom/tasks/P2-63706.yml +++ b/roles/linroom/tasks/P2-63706.yml @@ -4,4 +4,4 @@ - include_tasks: JDK.yml - include_tasks: IDEA.yml -- include_tasks: NetBeans.yml +- include_tasks: netbeans.yml diff --git a/roles/linroom/tasks/PB-63707.yml b/roles/linroom/tasks/PB-63707.yml index 1c7d97f..22eea37 100644 --- a/roles/linroom/tasks/PB-63707.yml +++ b/roles/linroom/tasks/PB-63707.yml @@ -7,5 +7,5 @@ - include_tasks: JDK.yml - include_tasks: powerdesigner.yml - include_tasks: mysql_workbench.yml -- include_tasks: mysql_odbc.yml -- include_tasks: notepadpp.yml +- include_tasks: mysql-odbc-connector.yml +- include_tasks: notepad++.yml diff --git a/roles/linroom/tasks/PJC-63769.yml b/roles/linroom/tasks/PJC-63769.yml index 9b510ac..3dd3ac5 100644 --- a/roles/linroom/tasks/PJC-63769.yml +++ b/roles/linroom/tasks/PJC-63769.yml @@ -2,4 +2,4 @@ # Tomaz.Dobravec@fri.uni-lj.si # Windows, Pelles C -- include_tasks: pelles.yml +- include_tasks: pelles-c.yml diff --git a/roles/linroom/tasks/PPJ-63220.yml b/roles/linroom/tasks/PPJ-63220.yml index c33b9ab..82a0811 100644 --- a/roles/linroom/tasks/PPJ-63220.yml +++ b/roles/linroom/tasks/PPJ-63220.yml @@ -2,7 +2,7 @@ # Klemen.Klanjscek@fri.uni-lj.si # Windows, GNU/Linux, VS Code, Ocaml, Eclipse, Haskell, SWI-Prolog, rlwrap -- include_tasks: VSCode.yml +- include_tasks: vscode.yml - include_tasks: ocaml.yml - include_tasks: Eclipse.yml - include_tasks: haskell.yml diff --git a/roles/linroom/tasks/PS-63261.yml b/roles/linroom/tasks/PS-63261.yml index 39ba5c8..129df79 100644 --- a/roles/linroom/tasks/PS-63261.yml +++ b/roles/linroom/tasks/PS-63261.yml @@ -1,4 +1,4 @@ # Porazdeljeni sistemi # Davor.Sluga@fri.uni-lj.si # Windows, VS Code -- include_tasks: VSCode.yml +- include_tasks: vscode.yml diff --git a/roles/linroom/tasks/RK-63209.yml b/roles/linroom/tasks/RK-63209.yml index 87103e2..bee15c1 100644 --- a/roles/linroom/tasks/RK-63209.yml +++ b/roles/linroom/tasks/RK-63209.yml @@ -1,9 +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 +# 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: vscode.yml +- include_tasks: wireshark.yml - include_tasks: JDK.yml diff --git a/roles/linroom/tasks/RK-63708.yml b/roles/linroom/tasks/RK-63708.yml index f16e787..c3dea0d 100644 --- a/roles/linroom/tasks/RK-63708.yml +++ b/roles/linroom/tasks/RK-63708.yml @@ -1,9 +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 +# 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: vscode.yml +- include_tasks: wireshark.yml - include_tasks: JDK.yml diff --git a/roles/linroom/tasks/ST-63727.yml b/roles/linroom/tasks/ST-63727.yml index 6d82580..66e48a3 100644 --- a/roles/linroom/tasks/ST-63727.yml +++ b/roles/linroom/tasks/ST-63727.yml @@ -1,5 +1,5 @@ # Spletne tehnologije # David.Jelenc@fri.uni-lj.si # Windows, VS Code, XAMPP -- include_tasks: VSCode.yml +- include_tasks: vscode.yml - include_tasks: XAMPP.yml diff --git a/roles/linroom/tasks/SU-63519.yml b/roles/linroom/tasks/SU-63519.yml index ac213b2..8eb82b1 100644 --- a/roles/linroom/tasks/SU-63519.yml +++ b/roles/linroom/tasks/SU-63519.yml @@ -1,4 +1,4 @@ # Strojno učenje # matej.piculin@fri.uni-lj.si, Petar.Vracar@fri.uni-lj.si # Windows, R, RStudio -- include_tasks: RStudio.yml +- include_tasks: rstudio.yml diff --git a/roles/linroom/tasks/TIS-63216.yml b/roles/linroom/tasks/TIS-63216.yml index 773a7e4..f1fe0d3 100644 --- a/roles/linroom/tasks/TIS-63216.yml +++ b/roles/linroom/tasks/TIS-63216.yml @@ -1,4 +1,4 @@ # Teorija informacij in sistemov # Davor.Sluga@fri.uni-lj.si # Windows, VS Code, Python 3 -- include_tasks: VSCode.yml +- include_tasks: vscode.yml diff --git a/roles/linroom/tasks/TUP-63226.yml b/roles/linroom/tasks/TUP-63226.yml index 4042e84..73bd12c 100644 --- a/roles/linroom/tasks/TUP-63226.yml +++ b/roles/linroom/tasks/TUP-63226.yml @@ -7,6 +7,6 @@ - include_tasks: JDK.yml - include_tasks: powerdesigner.yml - include_tasks: mysql_workbench.yml -- include_tasks: mysql_odbc.yml -- include_tasks: notepadpp.yml +- include_tasks: mysql-odbc-connector.yml +- include_tasks: notepad++.yml diff --git a/roles/linroom/tasks/UI-63720.yml b/roles/linroom/tasks/UI-63720.yml index ccf27fc..3019f30 100644 --- a/roles/linroom/tasks/UI-63720.yml +++ b/roles/linroom/tasks/UI-63720.yml @@ -1,4 +1,4 @@ # Umetna inteligenca # Petar.Vracar@fri.uni-lj.si # Windows, R, RStudio -- include_tasks: RStudio.yml +- include_tasks: rstudio.yml diff --git a/roles/linroom/tasks/VPSA-63735.yml b/roles/linroom/tasks/VPSA-63735.yml index 1b3557a..ba8d41d 100644 --- a/roles/linroom/tasks/VPSA-63735.yml +++ b/roles/linroom/tasks/VPSA-63735.yml @@ -1,5 +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: vscode.yml - include_tasks: visual_studio.yml diff --git a/roles/linroom/tasks/VZR-63543.yml b/roles/linroom/tasks/VZR-63543.yml index 0744b22..d847462 100644 --- a/roles/linroom/tasks/VZR-63543.yml +++ b/roles/linroom/tasks/VZR-63543.yml @@ -1,4 +1,4 @@ # Visoko zmogljivo računanje # Davor.Sluga@fri.uni-lj.si # Windows, VS Code -- include_tasks: VSCode.yml +- include_tasks: vscode.yml diff --git a/roles/linroom/tasks/arduino.yml b/roles/linroom/tasks/arduino.yml index d2b7952..1a7c6f5 100644 --- a/roles/linroom/tasks/arduino.yml +++ b/roles/linroom/tasks/arduino.yml @@ -1 +1,10 @@ -# TODO install Arduino IDE +- 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 diff --git a/roles/linroom/tasks/dotnet6.yml b/roles/linroom/tasks/dotnet6.yml index aac0510..a4f7e2f 100644 --- a/roles/linroom/tasks/dotnet6.yml +++ b/roles/linroom/tasks/dotnet6.yml @@ -1,4 +1,3 @@ -# TODO namesti dotnet6 name: "Install Dotnet 6.0" apt: name: dotnet6 diff --git a/roles/linroom/tasks/haskell.yml b/roles/linroom/tasks/haskell.yml index 610d80d..7be5013 100644 --- a/roles/linroom/tasks/haskell.yml +++ b/roles/linroom/tasks/haskell.yml @@ -1 +1,14 @@ -# TODO install Haskell +name: install Haskell platform +apt: + name: haskell-platform + state: latest + +name: install Haskell Tool Stack +apt: + name: haskell-stack + state: latest + +name: install Haskell compiler +apt: + name: ghc + state: latest diff --git a/roles/linroom/tasks/logisim.yml b/roles/linroom/tasks/logisim.yml index 124a3ee..580a2fa 100644 --- a/roles/linroom/tasks/logisim.yml +++ b/roles/linroom/tasks/logisim.yml @@ -1 +1,3 @@ # TODO install logisim for linux + +https://altushost-swe.dl.sourceforge.net/project/circuit/2.7.x/2.7.1/logisim-generic-2.7.1.jar diff --git a/roles/linroom/tasks/mysql-odbc-connector.yml b/roles/linroom/tasks/mysql-odbc-connector.yml new file mode 100644 index 0000000..87d7f26 --- /dev/null +++ b/roles/linroom/tasks/mysql-odbc-connector.yml @@ -0,0 +1,5 @@ +name: Install MariaDB ODBC connector +apt: + name: odbc-mariadb + state: latest + diff --git a/roles/linroom/tasks/mysql_workbench.yml b/roles/linroom/tasks/mysql_workbench.yml index 41267ff..1db3795 100644 --- a/roles/linroom/tasks/mysql_workbench.yml +++ b/roles/linroom/tasks/mysql_workbench.yml @@ -1 +1,2 @@ -# TODO install MySQL Workbench +apt: + deb: https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community_8.0.30-1ubuntu22.04_amd64.deb diff --git a/roles/linroom/tasks/netbeans.yml b/roles/linroom/tasks/netbeans.yml index 3eef257..2b874a8 100644 --- a/roles/linroom/tasks/netbeans.yml +++ b/roles/linroom/tasks/netbeans.yml @@ -1 +1 @@ -# TODO install netbeans +# TODO install NetBeans diff --git a/roles/linroom/tasks/notepad++.yml b/roles/linroom/tasks/notepad++.yml new file mode 100644 index 0000000..583351f --- /dev/null +++ b/roles/linroom/tasks/notepad++.yml @@ -0,0 +1 @@ +# TODO install Notepad++ diff --git a/roles/linroom/tasks/ocaml.yml b/roles/linroom/tasks/ocaml.yml index ebfedef..a22e14e 100644 --- a/roles/linroom/tasks/ocaml.yml +++ b/roles/linroom/tasks/ocaml.yml @@ -1 +1,5 @@ -# TODO install Ocaml +name: Install Ocaml +apt: + name: ocaml + state: latest +n diff --git a/roles/linroom/tasks/pelles-c.yml b/roles/linroom/tasks/pelles-c.yml new file mode 100644 index 0000000..3cb827b --- /dev/null +++ b/roles/linroom/tasks/pelles-c.yml @@ -0,0 +1 @@ +# TODO install Pelles diff --git a/roles/linroom/tasks/racket.yml b/roles/linroom/tasks/racket.yml index adf9db1..3387695 100644 --- a/roles/linroom/tasks/racket.yml +++ b/roles/linroom/tasks/racket.yml @@ -1,4 +1,3 @@ -# TODO poglej, kako se namesti racket name: Install racket apt: name: racket diff --git a/roles/linroom/tasks/rlwrap.yml b/roles/linroom/tasks/rlwrap.yml index 35a6431..c6fe24f 100644 --- a/roles/linroom/tasks/rlwrap.yml +++ b/roles/linroom/tasks/rlwrap.yml @@ -1 +1,4 @@ -# TODO install rlwrap +name: Install rlwrap +apt: + name: rlwrap + state: latest diff --git a/roles/linroom/tasks/rstudio.yml b/roles/linroom/tasks/rstudio.yml new file mode 100644 index 0000000..95ae391 --- /dev/null +++ b/roles/linroom/tasks/rstudio.yml @@ -0,0 +1,14 @@ +- name: Add R repository + block: + - name: R repo - apt key + ansible.builtin.get_url: + url: https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc + dest: /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc + - name: R repo - url + ansible.builtin.apt_repository: + repo: "deb https://cloud.r-project.org/bin/linux/ubuntu {{ansible_distribution_release}}-cran40/" + state: present +- name: Install R + ansible.builtin.apt: + name: r-base + state: latest diff --git a/roles/linroom/tasks/smlnj.yml b/roles/linroom/tasks/smlnj.yml new file mode 100644 index 0000000..9354511 --- /dev/null +++ b/roles/linroom/tasks/smlnj.yml @@ -0,0 +1,13 @@ +name: Install SML/NJ +apt: + name: smlnj + state: latest +name: Install SML/NJ +apt: + name: smlnj + state: latest +name: Install Emacs extension for SML +apt: + name: elpa-sml-mode + state: latest + diff --git a/roles/linroom/tasks/swi-prolog.yml b/roles/linroom/tasks/swi-prolog.yml index e31571a..fcf95bd 100644 --- a/roles/linroom/tasks/swi-prolog.yml +++ b/roles/linroom/tasks/swi-prolog.yml @@ -1 +1,8 @@ -# TODO install SWI-Prolog +name: Install SWI-Prolog +apt: + name: swi-prolog + state: latest +name: Install SWI-Prolog - X support +apt: + name: swi-prolog-x + state: latest diff --git a/roles/linroom/tasks/vscode.yml b/roles/linroom/tasks/vscode.yml index 6cbcece..797697a 100644 --- a/roles/linroom/tasks/vscode.yml +++ b/roles/linroom/tasks/vscode.yml @@ -1 +1,14 @@ -# TODO namesti VSCode +- name: Add VS repository + block: + - name: VS repo - apt key + ansible.builtin.get_url: + url: https://packages.microsoft.com/keys/microsoft.asc + dest: /etc/apt/trusted.gpg.d/microsoft_key.asc + - name: VS repo - url + ansible.builtin.apt_repository: + repo: "deb https://packages.microsoft.com/repos/vscode stable main" + state: present +- name: Install VSCode + ansible.builtin.apt: + name: code + state: latest diff --git a/roles/linroom/tasks/weka.yml b/roles/linroom/tasks/weka.yml new file mode 100644 index 0000000..ff4a71a --- /dev/null +++ b/roles/linroom/tasks/weka.yml @@ -0,0 +1,4 @@ +- name: Install Weka 3.6+ + apt: + name: weka + state: latest diff --git a/roles/linroom/tasks/wfdb.yml b/roles/linroom/tasks/wfdb.yml index c115129..665e170 100644 --- a/roles/linroom/tasks/wfdb.yml +++ b/roles/linroom/tasks/wfdb.yml @@ -1,4 +1,3 @@ -# TODO spiši skripto za install # Dobi se jo na: https://www.physionet.org/content/wfdb/10.7.0/ 1. razpakiraj arhiv 2. pojdi v direktorij. 3. poženi .-configure lahko z dodatnimi parametri glede na željeno lokacijo knjižnice 4. poženi make 5. poženi sudo make install name: Install libFLAC apt: diff --git a/roles/linroom/tasks/wireshark.yml b/roles/linroom/tasks/wireshark.yml new file mode 100644 index 0000000..fe4e91c --- /dev/null +++ b/roles/linroom/tasks/wireshark.yml @@ -0,0 +1,10 @@ +- name: Enable non-privileged users to run wireshark + ansible.builtin.debconf: + name: wireshark + question: wireshark-common/install-setuid + value: true + vtype: boolean +- name: "Install Wireshark" + apt: + name: wireshark-qt + state: latest