Merge branch 'main' into main

This commit is contained in:
polz113 2024-09-16 16:30:53 +02:00 committed by GitHub
commit 14461f28fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
64 changed files with 284 additions and 289 deletions

View file

@ -3,12 +3,16 @@
become: true
vars:
ansible_port: 1001
ansible_ssh_extra_args: '-o ForwardX11=yes'
# ansible_become_pass: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
# ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
installers: /mnt/ucilnice_d/install
ansible_connection: 'ssh'
vars_files:
- vars/credentials.yml
- vars/software_keys.yml
roles:
# - all_classes
- fri_base
# - orange
- all_classes
# - fri_base
# - powerdesigner

View file

@ -1,7 +1,8 @@
# Kriptografija in računalniška varnost
# Klemen.Klanjscek@fri.uni-lj.si, Janos.Vidali@fri.uni-lj.si
# Klemen.Klanjscek@fri.uni-lj.si
# GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client
dependencies:
- role: sagemath
- role: jupyter
- role: openssl
# SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
# - include_tasks: sagemath.yml
- include_tasks: jupyter.yml
- include_tasks: openssl.yml

View file

@ -6,28 +6,8 @@ dependencies:
- role: stm32cube
- role: vscode
- role: putty
# - role: ninja
# - role: cmake
#TODO Writable d:\RAVINOR directory
- name: Create RAVINOR directory
win_file:
path: "D:\\RAVINOR"
state: directory
- name: Create RAVINOR CubeIDE_Workspace directory
win_file:
path: "D:\\RAVINOR\\CubeIDE_Workspace"
state: directory
- name: Create RAVINOR Delo directory
win_file:
path: "D:\\RAVINOR\\Delo"
state: directory
- name: Create RAVINOR Logisim directory
win_file:
path: "D:\\RAVINOR\\Logisim"
state: directory
- role: stm32duino
- role: ninja
- role: cmake
- role: gcc-arm

View file

@ -0,0 +1,8 @@
# Programiranje 1
# luka.furst@fri.uni-lj.si
# JDK, mono
dependencies:
- role: jdk
- role: gedit
- role: mono
- role: vscode

View file

@ -0,0 +1,7 @@
# Programiranje 1
# tomaz.hocevar@fri.uni-lj.si
# vscode, gcc, g++
dependencies:
- role: gedit
- role: vscode
- role: c_development

View file

@ -5,6 +5,7 @@ dependencies:
- role: stm32cube (CubeMonitor sem vzel samo exe)
- role: stm32duino
- role: vscode
- role: putty
- role: winidea
- role: gcc-arm
- role: git

View file

@ -1,7 +1,10 @@
AndroidSDK_packages:
- add-ons;addon-google_apis-google-24
- add-ons;addon-google_apis-google-24
- build-tools;34.0.0-rc3
- build-tools;35.0.0
- cmake;3.22.1
#- cmake;latest
- cmdline-tools;latest
- emulator
- extras;android;m2repository
@ -13,17 +16,21 @@ AndroidSDK_packages:
- 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
# - 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
# - patcher;v4
- platform-tools
- platforms;android-34
- platforms;android-35
- platforms;android-32
- platforms;android-UpsideDownCakePrivacySandbox
- skiaparser;3
- sources;android-35
- sources;android-34
- system-images;android-35;google_apis;x86_64
- system-images;android-34;google_apis;x86_64
- system-images;android-32;google_apis;x86_64
- system-images;android-35;google_apis_playstore;x86_64
- system-images;android-34;google_apis_playstore;x86_64
- system-images;android-UpsideDownCakePrivacySandbox;google_apis_playstore;x86_64

View file

@ -5,7 +5,7 @@
- name: unpack Arduino
unarchive:
src: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.2.1_Linux_64bit.zip
src: https://downloads.arduino.cc/arduino-ide/arduino-ide_2.3.2_Linux_64bit.zip
dest: /opt/Arduino
remote_src: yes

View file

@ -1,10 +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
#- name: Install Wine
# apt:
# name: wine-development
# state: latest
#- name: Install Wine binfmt support
# apt:
# name: wine-binfmt
# state: latest

View file

@ -1,3 +1,4 @@
- name: Install CP210x USB to UART Bridge VCP Drivers
win_chocolatey:
ignore_checksums: true
name: cp210x-vcp-drivers-win10

View file

@ -11,12 +11,12 @@
- name: "Install docker"
apt:
name: docker
name: docker.io
state: latest
- name: "Install docker-compose"
apt:
name: docker-compose
name: docker-compose-v2
state: latest

View file

@ -20,3 +20,4 @@
name:
- firefox
state: latest
allow_downgrade: True

View file

@ -1,3 +1,6 @@
- name: Enable multiarch
command: dpkg --add-architecture i386
- name: Install generally useful packages
apt:
name:
@ -16,11 +19,13 @@
- qutebrowser
- chromium-browser
- firefox
- qemu
- qemu-system-x86
- qemu-kvm
- qemu-utils
- virt-manager
- wine-development
- wine
- wine32:i386
- wine-binfmt
- dosbox
- webext-ublock-origin-chromium
- webext-ublock-origin-firefox
@ -38,6 +43,9 @@
- overlayroot
- nfs-common
- cifs-utils
- samba-vfs-modules-extra
- samba-vfs-modules
- smbclient
- neovim-qt
- binwalk
- iotop
@ -110,7 +118,7 @@
mount:
boot: true
fstype: nfs
src: "10.32.254.16:/srv/nfs/clonezilla_images"
src: "ucilnicenfs.fri.uni-lj.si:/srv/nfs/clonezilla_images"
path: /home/partimag
state: mounted
opts: defaults,nofail

View file

@ -7,6 +7,12 @@
name: HideFileExt
data: 0
type: dword
- name: Allow SMB insecure guest access
win_regedit:
path: HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation
name: AllowInsecureGuestAuth
data: 1
type: dword
- name: Install PSCX
community.windows.win_psmodule:
name: Pscx

View file

@ -1,6 +1,6 @@
- name: install Haskell platform
- name: install Emacs haskell mode
apt:
name: haskell-platform
name: elpa-haskell-mode
state: latest
- name: install Haskell Tool Stack

View file

@ -1,25 +1,25 @@
- name: Check Haskell install status
win_stat:
path: C:\ghcup\bin\ghc.exe
register: file
# - 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
# - 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: Install Haskell
# win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
- name: Add Haskell to PATH
win_path:
elements:
C:\ghcup\bin
# - name: Add Haskell to PATH
# win_path:
# elements:
# C:\ghcup\bin
- name: Remove temporary files
win_file:
path: "{{ download.dest }}"
state: absent
# - name: Remove temporary files
# win_file:
# path: "{{ download.dest }}"
# state: absent

View file

@ -1,11 +1,11 @@
- name: Install OpenJDK 18
- name: Install OpenJDK 21
apt:
name: openjdk-18-jdk
name: openjdk-21-jdk
state: latest
- name: Install OpenJDK 19
- name: Install OpenJDK 17
apt:
name: openjdk-19-jdk
name: openjdk-17-jdk
state: latest
- name: Install OpenJDK 11
@ -31,11 +31,11 @@
- libc6-x32
state: latest
- name: Install Oracle JDK 20
- name: Install Oracle JDK 22
apt:
deb: "https://download.oracle.com/java/20/latest/jdk-20_linux-x64_bin.deb"
deb: "https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.deb"
- name: Install Java docs
apt:
deb: "https://download.oracle.com/java/20/latest/jdk-20_linux-x64_bin.deb"
deb: "https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.deb"

View file

@ -1,5 +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: gns3.yml
- include_tasks: virtualbox.yml

View file

@ -1,15 +0,0 @@
- name: Add GNS3 repository
apt_repository:
repo: ppa:gns3/ppa
state: present
update_cache: True
validate_certs: False
- name: Install gns3 server
ansible.builtin.apt:
name: gns3-server
state: latest
- name: Install gns3 GUI
ansible.builtin.apt:
name: gns3-gui
state: latest

View file

@ -1,5 +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: gns3.yml
- include_tasks: virtualbox.yml

View file

@ -1,7 +1,8 @@
# Kriptografija in računalniška varnost
# Klemen.Klanjscek@fri.uni-lj.si, Janos.Vidali@fri.uni-lj.si
# Klemen.Klanjscek@fri.uni-lj.si
# GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client
- include_tasks: sagemath.yml
# SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
# - include_tasks: sagemath.yml
- include_tasks: jupyter.yml
- include_tasks: openssl.yml

View file

@ -5,7 +5,7 @@
- include_tasks: vscode.yml
- include_tasks: ocaml.yml
- include_tasks: eclipse.yml
- include_tasks: haskell.yml
- include_tasks: swi-prolog.yml
- include_tasks: rlwrap.yml
- include_tasks: utop.yml

View file

View file

@ -1,9 +1,10 @@
- name: Install SageMath
apt:
name: sagemath
state: latest
# # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
# - name: Install SageMath
# apt:
# name: sagemath
# state: latest
- name: Install SageMath - Jupyter
apt:
name: sagemath-jupyter
state: latest
# - name: Install SageMath - Jupyter
# apt:
# name: sagemath-jupyter
# state: latest

View file

@ -11,3 +11,8 @@
name: elpa-sml-mode
state: latest
# - name: Readline for SML
# lineinfile:
# dest: "$HOME/.bashrc"
# line: "alias smlnj='rlwrap sml'"
# insertafter: EOF

View file

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

View file

@ -1,9 +1,7 @@
VSCode_Extensions:
- VisualStudioExptTeam.vscodeintellicode
- arthurwang.vsc-prolog
- dramforever.vscode-ghc-simple
- AmauryRabouan.new-vsc-prolog
- eamodio.gitlens
- justusadam.language-haskell
- ms-dotnettools.csdevkit # IS-63714
- ms-python.python
- ms-vscode.cpptools

View file

@ -7,6 +7,7 @@
state: directory
- name: Download and unpack Logisim
unarchive:
src: https://altushost-swe.dl.sourceforge.net/project/circuit/2.7.x/2.7.1/logisim-generic-2.7.1.jar
src: https://deac-fra.dl.sourceforge.net/project/circuit/2.7.x/2.7.1/logisim-generic-2.7.1.jar
dest: /opt/logisim
remote_src: yes
creates: /opt/logisim/META-INF/MANIFEST.MF

View file

@ -1,2 +1,2 @@
dependencies:
- role: fri_base
# dependencies:
# - role: fri_base

View file

@ -4,9 +4,13 @@
license_path: \\ucilnicesmb.fri1.uni-lj.si\ucilnice_d\install\matlab\network.lic
dest_dir: D:\matlab
- name: Set ISO path
set_fact:
iso_path: "{{ installers }}\\matlab\\{{ target_version }}_Windows.iso"
- name: Mount Matlab ISO
win_disk_image:
image_path: "{{ installers }}\\matlab\\{{ target_version }}_Windows.iso"
image_path: "{{ iso_path }}"
state: present
register: disk_image
@ -22,7 +26,7 @@
- name: Unmount Matlab ISO
win_disk_image:
image_path: "{{ installers }}\\matlab\\matlab-{{ target_version }}_windows.iso"
image_path: "{{ iso_path }}"
state: absent
# TODO MATLAB throws license error -83 when run

View file

@ -0,0 +1,4 @@
- name: Install Mono
apt:
name: mono-devel
state: latest

View file

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

View file

@ -1,8 +1,8 @@
- name: Download mysql workbench
get_url:
url: https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community_8.0.34-1ubuntu22.04_amd64.deb
dest: /tmp/mysql-workbench-community_8.0.34-1ubuntu22.04_amd64.deb
url: https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community_8.0.38-1ubuntu24.04_amd64.deb
dest: /tmp/mysql-workbench-community_8.0.38-1ubuntu24.04_amd64.deb
http_agent: "Wget/1.21.3"
- name: Install mysql workbench
apt:
deb: /tmp/mysql-workbench-community_8.0.34-1ubuntu22.04_amd64.deb
deb: /tmp/mysql-workbench-community_8.0.38-1ubuntu24.04_amd64.deb

View file

@ -1,6 +1,6 @@
- name: Set Netbeans version
set_fact:
target_version: "19"
target_version: "22"
- name: Install Netbeans
win_package:

View file

@ -3,14 +3,14 @@
- name: Install notepad++
debug:
msg: "Install Notepad++"
- name: Install Wine
apt:
name: wine-development
state: latest
- name: Install Wine binfmt support
apt:
name: wine-binfmt
state: latest
#- name: Install Wine
# apt:
# name: wine-development
# state: latest
#- name: Install Wine binfmt support
# apt:
# name: wine-binfmt
# state: latest
- name: Create dir
file:

View file

@ -23,7 +23,7 @@
delete_archive: yes
- name: Move OMNet++ to final location
win_command: cmd.exe /c move "C:\\omnetpp-{{ target_version }}" "{{ target_dir }}"
win_command: cmd.exe /c move "C:\omnetpp-{{ target_version }}" "{{ target_dir }}"
- name: Create OMNet++ compile script
win_copy:

View file

@ -1,4 +1,8 @@
- name: Install pipx
apt:
name: pipx
state: latest
- name: Install orange
pip:
executable: pip3
executable: pipx
name: orange3

View file

@ -2,14 +2,14 @@
- name: Install Pelles
debug:
msg: "Install Pelles-C"
- name: Install Wine
apt:
name: wine-development
state: latest
- name: Install Wine binfmt support
apt:
name: wine-binfmt
state: latest
#- name: Install Wine
# apt:
# name: wine-development
# state: latest
#- name: Install Wine binfmt support
# apt:
# name: wine-binfmt
# state: latest
- name: Install icon
block:

View file

@ -1,4 +1,2 @@
- name: Install PowerDesigner
win_package:
path: "{{ installers }}\\PowerDesigner 12.5\\cd1\\setup\\setup.exe"
arguments: "/s /f1\"{{ installers }}\\PowerDesigner 12.5\\setup.iss\""
# - name: Install PowerDesigner
# command: "wine {{ installers }}/PowerDesigner\\ 12.5/cd1/Setup/setup.exe /s /f1\"Z:\\mnt\\ucilnice_d\\install\\PowerDesigner 12.5\\setup.iss\""

View file

@ -1,9 +1,9 @@
- name: Install SageMath
apt:
name: sagemath
state: latest
# # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
# - name: Install SageMath - Jupyter
# apt:
# name: sagemath-jupyter
# state: latest
- name: Install SageMath - Jupyter
apt:
name: sagemath-jupyter
state: latest
- name: Do not install SageMath
debug:
msg: SageMath is not installable on Ubuntu 24.04 right now

View file

@ -1 +0,0 @@
# TODO

View file

@ -7,22 +7,21 @@
block:
- name: Set download filenames
set_fact:
# cubemx_download_file: C:\CubeMX.exe
cubemx_download_file: C:\CubeMX.exe
cubeprogrammer_download_file: C:\CubeProgrammer.exe
cubemonitor_download_file: C:\CubeMonitor.exe
# cufinder_download_file: C:\CUFinder.exe
cufinder_download_file: C:\CUFinder.exe
cubeide_download_file: C:\st-stm32cubeide_1.16.0_21983_20240628_1741_x86_64.exe
# - name: Download CubeMX
- name: Download CubeMX
# # win_get_url:
# win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EZhqHxJoAfdEjdlMu0uGWGcBOqrT0vTVv2_nhynWZ3fOwQ?e=ilAlzP&download=1" -O "{{ cubemx_download_file }}"
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EZhqHxJoAfdEjdlMu0uGWGcBOqrT0vTVv2_nhynWZ3fOwQ?e=ilAlzP&download=1" -O "{{ cubemx_download_file }}"
# #dest: C:\CubeMX.exe
# #register: cubemx_download
# args:
# creates: "{{ cubemx_download_file }}"
args:
creates: "{{ cubemx_download_file }}"
#- name: Install CubeMX
# win_package:
# path: "{{cubemx_download.dest}}"
# path: "{{ cubemx_download_file }}"
# arguments: /S
@ -34,10 +33,10 @@
args:
creates: "{{ cubeprogrammer_download_file }}"
# - name: Install CubeProgrammer
# win_package:
# path: "{{ cubeprogrammer_download_file }}"
# arguments: /S
- name: Install CubeProgrammer
win_package:
path: "{{ cubeprogrammer_download_file }}"
arguments: /S
- name: Download CubeMonitor
# TODO 2024: only zip distributions exists in zip file
@ -50,23 +49,23 @@
args:
creates: "{{ cubemonitor_download_file}}"
# - name: Install CubeMonitor
# win_package:
# path: "{{ cubemonitor_download_file }}"
# arguments: /S
- name: Install CubeMonitor
win_package:
path: "{{ cubemonitor_download_file }}"
arguments: /S
# - name: Download STM CUFinder
# win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EfesbSW7EftDoSjtt-nr_eYBH_EBzXnysW0Lk1wnNzx2Mw?e=HSSmDz&download=1" -O "{{ cufinder_download_file }}"
- name: Download STM CUFinder
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EfesbSW7EftDoSjtt-nr_eYBH_EBzXnysW0Lk1wnNzx2Mw?e=HSSmDz&download=1" -O "{{ cufinder_download_file }}"
# #win_get_url:
# # dest: C:\CUFinder.exe
# #register: cubecufinder_download
# args:
# creates: "{{ cufinder_download_file }}"
args:
creates: "{{ cufinder_download_file }}"
# - name: Install STM CUFinder
# win_package:
# path: "{{ cubecufinder_download_file }}"
# arguments: /S
- name: Install STM CUFinder
win_package:
path: "{{ cubecufinder_download_file }}"
arguments: /S
- name: Download CubeIDE
# win_get_url:
@ -76,20 +75,20 @@
args:
creates: "{{ cubeide_download_file }}"
# - name: Install CubeIDE
# win_package:
# path: "{{ cubeide_download_file }}"
# arguments: /S
- name: Install CubeIDE
win_package:
path: "{{ cubeide_download_file }}"
arguments: /S
# TODO test the installers
# - 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"
- 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
- 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

View file

@ -1,13 +1,14 @@
- name: create destination
file:
path: /opt/Arduino
state: directory
#- name: create destination
# file:
# path: /opt/Arduino
# state: directory
- name: unpack Arduino
unarchive:
src:
dest: /opt/Arduino-cli
remote_src: yes
# - name: unpack Arduino
# unarchive:
# src:
# dest: /opt/Arduino-cli
# remote_src: yes
#- name: Add .json for new boards
#
# https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
# TODO: write this task file!

View file

@ -1,4 +1,4 @@
- name: Install TensorFlow
pip:
executable: pip3
executable: pipx
name: tensorflow

View file

@ -1,2 +1,3 @@
- name: Do not install TwinCat 3 on Linux
debug: Do not install TwinCat 3 on Linux
debug:
msg: Do not install TwinCat 3 on Linux

View file

@ -1,5 +1,6 @@
- name: Install TwinCat 3
win_chocolatey:
name: visualstudio2019community
# Maybe sometime use https://learn.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2022 with the costlier version
debug:
msg: TODO - write twincat installer scripts
#win_package:
# path: "{{ installers }}\\TwinCat3\\setup\\setup.exe"
# arguments: "/s /f1\"{{ installers }}\\PowerDesigner 12.5\\setup.iss\" /f2\"C:\\powerdesigner_log.iss\""

View file

@ -2,11 +2,11 @@
- name: PowerDesigner
debug:
msg: "Unity"
- name: Install Wine
apt:
name: wine-development
state: latest
- name: Install Wine binfmt support
apt:
name: wine-binfmt
state: latest
#- name: Install Wine
# apt:
# name: wine-development
# state: latest
#- name: Install Wine binfmt support
# apt:
# name: wine-binfmt
# state: latest

View file

@ -1,2 +0,0 @@
- name: Do not install VisualStudio on Linux
debug: Do not install VisualStudio on Linux

View file

@ -1,5 +0,0 @@
- name: Install Microsoft Visual Studio
win_chocolatey:
name: visualstudio2022community
# Maybe sometime use https://learn.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2022 with the costlier version

View file

@ -1,2 +1,3 @@
- name: Do not install VisualStudio on Linux
debug: Do not install VisualStudio on Linux
debug:
msg: Do not install VisualStudio on Linux

View file

@ -1,16 +1,14 @@
VSCode_Extensions:
- VisualStudioExptTeam.vscodeintellicode
- arthurwang.vsc-prolog
- dramforever.vscode-ghc-simple
- AmauryRabouan.new-vsc-prolog
- eamodio.gitlens
- justusadam.language-haskell
- ms-dotnettools.csdevkit # IS-63714
- ms-python.python
- ms-vscode.cpptools
- franneck94.c-cpp-runner
- ritwickdey.LiveServer
- ms-toolsai.jupyter
- vscodevim.vim
# - vscodevim.vim
- ocamllabs.ocaml-platform
- stonebuddha.vscode-better-sml
- vscode-icons-team.vscode-icons
@ -22,4 +20,4 @@ VSCode_Extensions:
- platformio.platformio-ide # ORS-63218
- stmicroelectronics.stm32-vscode-extension # RA-63703
- danielpinto8zz6.c-cpp-compile-run
- vadimcn.vscode-lldb
# - vadimcn.vscode-lldb

View file

@ -1,5 +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: gns3.yml
- include_tasks: virtualbox.yml

View file

@ -1,4 +0,0 @@
- name: GNS3 na Windows ne deluje
debug:
msg: "GNS3 na Windows zaenkrat ne vklapljamo"

View file

@ -1,5 +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: gns.yml
- include_tasks: virtualbox.yml

View file

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

View file

@ -1,11 +0,0 @@
# 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
- include_tasks: rlwrap.yml

View file

@ -13,7 +13,6 @@
- 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
@ -32,7 +31,6 @@
- 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

View file

@ -1,25 +1,25 @@
- name: Check Haskell install status
win_stat:
path: C:\ghcup\bin\ghc.exe
register: file
# - 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
# - 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: Install Haskell
# win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
- name: Add Haskell to PATH
win_path:
elements:
C:\ghcup\bin
# - name: Add Haskell to PATH
# win_path:
# elements:
# C:\ghcup\bin
- name: Remove temporary files
win_file:
path: "{{ download.dest }}"
state: absent
# - name: Remove temporary files
# win_file:
# path: "{{ download.dest }}"
# state: absent

View file

@ -1,4 +0,0 @@
# We have it at least in git and msys2 but what the hell.
- name: Install OpenSSL
win_chocolatey:
name: openssl

View file

@ -1 +0,0 @@
# TODO

View file

@ -1,13 +1,9 @@
VSCode_Extensions:
- VisualStudioExptTeam.vscodeintellicode
- arthurwang.vsc-prolog
- dramforever.vscode-ghc-simple
- eamodio.gitlens
- justusadam.language-haskell
- ms-dotnettools.csdevkit # IS-63714
- ms-python.python
- ms-vscode.cpptools
- ocamllabs.ocaml-platform
- stonebuddha.vscode-better-sml
- vscode-icons-team.vscode-icons
- vscjava.vscode-java-pack

View file

@ -6,5 +6,9 @@
vtype: boolean
- name: "Install Wireshark"
apt:
name: wireshark-qt
name: wireshark
state: latest
- name: "Install text-mode wireshark"
apt:
name: tshark
state: latest

View file

@ -13,11 +13,10 @@
- vars/credentials.yml
- vars/software_keys.yml
roles:
# - fri_base
- matlab
# - all_classes
# - android_studio
# - octave
# - audacity
# - vmware_player
# - stm32cube
- android_studio
#- OR-63717
#- RA-63703
#- VN-63728