forked from rc/classroom
		
	Add old sagemath config int he hopes that we can later uncomment it
This commit is contained in:
		
							parent
							
								
									bc6d0000a9
								
							
						
					
					
						commit
						abaf6b19ee
					
				
					 36 changed files with 177 additions and 147 deletions
				
			
		| 
						 | 
					@ -3,12 +3,16 @@
 | 
				
			||||||
  become: true
 | 
					  become: true
 | 
				
			||||||
  vars:
 | 
					  vars:
 | 
				
			||||||
    ansible_port: 1001
 | 
					    ansible_port: 1001
 | 
				
			||||||
 | 
					    ansible_ssh_extra_args: '-o ForwardX11=yes'
 | 
				
			||||||
    # ansible_become_pass: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
 | 
					    # ansible_become_pass: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
 | 
				
			||||||
    # ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
 | 
					    # ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
 | 
				
			||||||
 | 
					    installers: /mnt/ucilnice_d/install
 | 
				
			||||||
    ansible_connection: 'ssh'
 | 
					    ansible_connection: 'ssh'
 | 
				
			||||||
  vars_files:
 | 
					  vars_files:
 | 
				
			||||||
    - vars/credentials.yml
 | 
					    - vars/credentials.yml
 | 
				
			||||||
    - vars/software_keys.yml
 | 
					    - vars/software_keys.yml
 | 
				
			||||||
  roles:
 | 
					  roles:
 | 
				
			||||||
    # - all_classes
 | 
					    # - orange
 | 
				
			||||||
    - fri_base
 | 
					    - all_classes
 | 
				
			||||||
 | 
					    # - fri_base
 | 
				
			||||||
 | 
					    # - powerdesigner
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,7 @@ dependencies:
 | 
				
			||||||
  - role: logisim
 | 
					  - role: logisim
 | 
				
			||||||
  - role: stm32cube
 | 
					  - role: stm32cube
 | 
				
			||||||
  - role: stm32duino
 | 
					  - role: stm32duino
 | 
				
			||||||
 | 
					  - role: putty
 | 
				
			||||||
  - role: ninja
 | 
					  - role: ninja
 | 
				
			||||||
  - role: cmake
 | 
					  - role: cmake
 | 
				
			||||||
  - role: gcc-arm
 | 
					  - role: gcc-arm
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,7 @@ dependencies:
 | 
				
			||||||
  - role: stm32cube
 | 
					  - role: stm32cube
 | 
				
			||||||
  - role: stm32duino
 | 
					  - role: stm32duino
 | 
				
			||||||
  - role: vscode
 | 
					  - role: vscode
 | 
				
			||||||
 | 
					  - role: putty
 | 
				
			||||||
  - role: winidea
 | 
					  - role: winidea
 | 
				
			||||||
  - role: gcc-arm
 | 
					  - role: gcc-arm
 | 
				
			||||||
  - role: git
 | 
					  - role: git
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,10 @@
 | 
				
			||||||
AndroidSDK_packages:
 | 
					AndroidSDK_packages:
 | 
				
			||||||
 | 
					  - add-ons;addon-google_apis-google-24
 | 
				
			||||||
  - add-ons;addon-google_apis-google-24
 | 
					  - add-ons;addon-google_apis-google-24
 | 
				
			||||||
  - build-tools;34.0.0-rc3
 | 
					  - build-tools;34.0.0-rc3
 | 
				
			||||||
 | 
					  - build-tools;35.0.0
 | 
				
			||||||
  - cmake;3.22.1
 | 
					  - cmake;3.22.1
 | 
				
			||||||
 | 
					  #- cmake;latest
 | 
				
			||||||
  - cmdline-tools;latest
 | 
					  - cmdline-tools;latest
 | 
				
			||||||
  - emulator
 | 
					  - emulator
 | 
				
			||||||
  - extras;android;m2repository
 | 
					  - extras;android;m2repository
 | 
				
			||||||
| 
						 | 
					@ -13,17 +16,21 @@ AndroidSDK_packages:
 | 
				
			||||||
  - extras;google;market_licensing
 | 
					  - extras;google;market_licensing
 | 
				
			||||||
  - extras;google;simulators
 | 
					  - extras;google;simulators
 | 
				
			||||||
  - extras;google;webdriver
 | 
					  - extras;google;webdriver
 | 
				
			||||||
  - extras;m2repository;com;android;support;constraint;constraint-layout-solver;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
 | 
					  # - extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2
 | 
				
			||||||
  - ndk-bundle
 | 
					  - ndk-bundle
 | 
				
			||||||
  - patcher;v4
 | 
					  # - patcher;v4
 | 
				
			||||||
  - platform-tools
 | 
					  - platform-tools
 | 
				
			||||||
  - platforms;android-34
 | 
					  - platforms;android-34
 | 
				
			||||||
 | 
					  - platforms;android-35
 | 
				
			||||||
  - platforms;android-32
 | 
					  - platforms;android-32
 | 
				
			||||||
  - platforms;android-UpsideDownCakePrivacySandbox
 | 
					  - platforms;android-UpsideDownCakePrivacySandbox
 | 
				
			||||||
  - skiaparser;3
 | 
					  - skiaparser;3
 | 
				
			||||||
 | 
					  - sources;android-35
 | 
				
			||||||
  - sources;android-34
 | 
					  - sources;android-34
 | 
				
			||||||
 | 
					  - system-images;android-35;google_apis;x86_64
 | 
				
			||||||
  - system-images;android-34;google_apis;x86_64
 | 
					  - system-images;android-34;google_apis;x86_64
 | 
				
			||||||
  - system-images;android-32;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-34;google_apis_playstore;x86_64
 | 
				
			||||||
  - system-images;android-UpsideDownCakePrivacySandbox;google_apis_playstore;x86_64
 | 
					  - system-images;android-UpsideDownCakePrivacySandbox;google_apis_playstore;x86_64
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,7 +5,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: unpack Arduino
 | 
					- name: unpack Arduino
 | 
				
			||||||
  unarchive:
 | 
					  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
 | 
					    dest: /opt/Arduino
 | 
				
			||||||
    remote_src: yes
 | 
					    remote_src: yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +1,10 @@
 | 
				
			||||||
# TODO install BayesFusion.yml
 | 
					# TODO install BayesFusion.yml
 | 
				
			||||||
# https://download.bayesfusion.com/files.html?category=Academia#GeNIe
 | 
					# https://download.bayesfusion.com/files.html?category=Academia#GeNIe
 | 
				
			||||||
- name: Install Wine
 | 
					#- name: Install Wine
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-development
 | 
					#    name: wine-development
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
- name: Install Wine binfmt support
 | 
					#- name: Install Wine binfmt support
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-binfmt
 | 
					#    name: wine-binfmt
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
- name: Install CP210x USB to UART Bridge VCP Drivers
 | 
					- name: Install CP210x USB to UART Bridge VCP Drivers
 | 
				
			||||||
  win_chocolatey:
 | 
					  win_chocolatey:
 | 
				
			||||||
 | 
					    ignore_checksums: true
 | 
				
			||||||
    name: cp210x-vcp-drivers-win10
 | 
					    name: cp210x-vcp-drivers-win10
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,12 +11,12 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: "Install docker"
 | 
					- name: "Install docker"
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: docker
 | 
					    name: docker.io
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: "Install docker-compose"
 | 
					- name: "Install docker-compose"
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: docker-compose
 | 
					    name: docker-compose-v2
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,3 +20,4 @@
 | 
				
			||||||
    name:
 | 
					    name:
 | 
				
			||||||
      - firefox
 | 
					      - firefox
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					    allow_downgrade: True
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,6 @@
 | 
				
			||||||
 | 
					- name: Enable multiarch
 | 
				
			||||||
 | 
					  command: dpkg --add-architecture i386
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install generally useful packages
 | 
					- name: Install generally useful packages
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name:
 | 
					    name:
 | 
				
			||||||
| 
						 | 
					@ -16,11 +19,13 @@
 | 
				
			||||||
      - qutebrowser
 | 
					      - qutebrowser
 | 
				
			||||||
      - chromium-browser
 | 
					      - chromium-browser
 | 
				
			||||||
      - firefox
 | 
					      - firefox
 | 
				
			||||||
      - qemu
 | 
					      - qemu-system-x86
 | 
				
			||||||
      - qemu-kvm
 | 
					      - qemu-kvm
 | 
				
			||||||
      - qemu-utils
 | 
					      - qemu-utils
 | 
				
			||||||
      - virt-manager
 | 
					      - virt-manager
 | 
				
			||||||
      - wine-development
 | 
					      - wine
 | 
				
			||||||
 | 
					      - wine32:i386
 | 
				
			||||||
 | 
					      - wine-binfmt
 | 
				
			||||||
      - dosbox
 | 
					      - dosbox
 | 
				
			||||||
      - webext-ublock-origin-chromium
 | 
					      - webext-ublock-origin-chromium
 | 
				
			||||||
      - webext-ublock-origin-firefox
 | 
					      - webext-ublock-origin-firefox
 | 
				
			||||||
| 
						 | 
					@ -38,6 +43,9 @@
 | 
				
			||||||
      - overlayroot
 | 
					      - overlayroot
 | 
				
			||||||
      - nfs-common
 | 
					      - nfs-common
 | 
				
			||||||
      - cifs-utils
 | 
					      - cifs-utils
 | 
				
			||||||
 | 
					      - samba-vfs-modules-extra
 | 
				
			||||||
 | 
					      - samba-vfs-modules
 | 
				
			||||||
 | 
					      - smbclient
 | 
				
			||||||
      - neovim-qt
 | 
					      - neovim-qt
 | 
				
			||||||
      - binwalk
 | 
					      - binwalk
 | 
				
			||||||
      - iotop
 | 
					      - iotop
 | 
				
			||||||
| 
						 | 
					@ -110,7 +118,7 @@
 | 
				
			||||||
  mount:
 | 
					  mount:
 | 
				
			||||||
    boot: true
 | 
					    boot: true
 | 
				
			||||||
    fstype: nfs
 | 
					    fstype: nfs
 | 
				
			||||||
    src: "10.32.254.16:/srv/nfs/clonezilla_images"
 | 
					    src: "ucilnicenfs.fri.uni-lj.si:/srv/nfs/clonezilla_images"
 | 
				
			||||||
    path: /home/partimag
 | 
					    path: /home/partimag
 | 
				
			||||||
    state: mounted
 | 
					    state: mounted
 | 
				
			||||||
    opts: defaults,nofail
 | 
					    opts: defaults,nofail
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,12 @@
 | 
				
			||||||
    name: HideFileExt
 | 
					    name: HideFileExt
 | 
				
			||||||
    data: 0
 | 
					    data: 0
 | 
				
			||||||
    type: dword
 | 
					    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
 | 
					- name: Install PSCX
 | 
				
			||||||
  community.windows.win_psmodule:
 | 
					  community.windows.win_psmodule:
 | 
				
			||||||
    name: Pscx
 | 
					    name: Pscx
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
- name: install Haskell platform
 | 
					- name: install Emacs haskell mode
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: haskell-platform
 | 
					    name: elpa-haskell-mode
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: install Haskell Tool Stack
 | 
					- name: install Haskell Tool Stack
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,11 +1,11 @@
 | 
				
			||||||
- name: Install OpenJDK 18
 | 
					- name: Install OpenJDK 21
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: openjdk-18-jdk
 | 
					    name: openjdk-21-jdk
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install OpenJDK 19
 | 
					- name: Install OpenJDK 17
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: openjdk-19-jdk
 | 
					    name: openjdk-17-jdk
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install OpenJDK 11
 | 
					- name: Install OpenJDK 11
 | 
				
			||||||
| 
						 | 
					@ -31,11 +31,11 @@
 | 
				
			||||||
      - libc6-x32
 | 
					      - libc6-x32
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install Oracle JDK 20
 | 
					- name: Install Oracle JDK 22
 | 
				
			||||||
  apt: 
 | 
					  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
 | 
					- name: Install Java docs
 | 
				
			||||||
  apt: 
 | 
					  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"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,7 @@
 | 
				
			||||||
      state: directory
 | 
					      state: directory
 | 
				
			||||||
  - name: Download and unpack Logisim
 | 
					  - name: Download and unpack Logisim
 | 
				
			||||||
    unarchive:
 | 
					    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
 | 
					      dest: /opt/logisim
 | 
				
			||||||
      remote_src: yes
 | 
					      remote_src: yes
 | 
				
			||||||
 | 
					      creates: /opt/logisim/META-INF/MANIFEST.MF
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,2 @@
 | 
				
			||||||
dependencies:
 | 
					# dependencies:
 | 
				
			||||||
  - role: fri_base
 | 
					#   - role: fri_base
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,9 +4,13 @@
 | 
				
			||||||
    license_path: \\ucilnicesmb.fri1.uni-lj.si\ucilnice_d\install\matlab\network.lic
 | 
					    license_path: \\ucilnicesmb.fri1.uni-lj.si\ucilnice_d\install\matlab\network.lic
 | 
				
			||||||
    dest_dir: D:\matlab
 | 
					    dest_dir: D:\matlab
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Set ISO path
 | 
				
			||||||
 | 
					  set_fact:
 | 
				
			||||||
 | 
					    iso_path: "{{ installers }}\\matlab\\{{ target_version }}_Windows.iso"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Mount Matlab ISO
 | 
					- name: Mount Matlab ISO
 | 
				
			||||||
  win_disk_image:
 | 
					  win_disk_image:
 | 
				
			||||||
    image_path: "{{ installers }}\\matlab\\{{ target_version }}_Windows.iso"
 | 
					    image_path: "{{ iso_path }}"
 | 
				
			||||||
    state: present
 | 
					    state: present
 | 
				
			||||||
  register: disk_image
 | 
					  register: disk_image
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +26,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Unmount Matlab ISO
 | 
					- name: Unmount Matlab ISO
 | 
				
			||||||
  win_disk_image:
 | 
					  win_disk_image:
 | 
				
			||||||
    image_path: "{{ installers }}\\matlab\\matlab-{{ target_version }}_windows.iso"
 | 
					    image_path: "{{ iso_path }}"
 | 
				
			||||||
    state: absent
 | 
					    state: absent
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO MATLAB throws license error -83 when run
 | 
					# TODO MATLAB throws license error -83 when run
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,8 +1,8 @@
 | 
				
			||||||
- name: Download mysql workbench
 | 
					- name: Download mysql workbench
 | 
				
			||||||
  get_url:
 | 
					  get_url:
 | 
				
			||||||
    url: https://dev.mysql.com/get/Downloads/MySQLGUITools/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.34-1ubuntu22.04_amd64.deb
 | 
					    dest: /tmp/mysql-workbench-community_8.0.38-1ubuntu24.04_amd64.deb
 | 
				
			||||||
    http_agent: "Wget/1.21.3"
 | 
					    http_agent: "Wget/1.21.3"
 | 
				
			||||||
- name: Install mysql workbench
 | 
					- name: Install mysql workbench
 | 
				
			||||||
  apt:
 | 
					  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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
- name: Set Netbeans version
 | 
					- name: Set Netbeans version
 | 
				
			||||||
  set_fact:
 | 
					  set_fact:
 | 
				
			||||||
    target_version: "19"
 | 
					    target_version: "22"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install Netbeans
 | 
					- name: Install Netbeans
 | 
				
			||||||
  win_package:
 | 
					  win_package:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,14 +3,14 @@
 | 
				
			||||||
- name: Install notepad++
 | 
					- name: Install notepad++
 | 
				
			||||||
  debug:
 | 
					  debug:
 | 
				
			||||||
    msg: "Install Notepad++"
 | 
					    msg: "Install Notepad++"
 | 
				
			||||||
- name: Install Wine
 | 
					#- name: Install Wine
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-development
 | 
					#    name: wine-development
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
- name: Install Wine binfmt support
 | 
					#- name: Install Wine binfmt support
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-binfmt
 | 
					#    name: wine-binfmt
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Create dir
 | 
					- name: Create dir
 | 
				
			||||||
  file:
 | 
					  file:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,7 +23,7 @@
 | 
				
			||||||
        delete_archive: yes
 | 
					        delete_archive: yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Move OMNet++ to final location
 | 
					    - 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
 | 
					    - name: Create OMNet++ compile script
 | 
				
			||||||
      win_copy:
 | 
					      win_copy:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,8 @@
 | 
				
			||||||
 | 
					- name: Install pipx
 | 
				
			||||||
 | 
					  apt:
 | 
				
			||||||
 | 
					    name: pipx
 | 
				
			||||||
 | 
					    state: latest
 | 
				
			||||||
- name: Install orange
 | 
					- name: Install orange
 | 
				
			||||||
  pip:
 | 
					  pip:
 | 
				
			||||||
    executable: pip3
 | 
					    executable: pipx
 | 
				
			||||||
    name: orange3
 | 
					    name: orange3
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,14 +2,14 @@
 | 
				
			||||||
- name: Install Pelles
 | 
					- name: Install Pelles
 | 
				
			||||||
  debug:
 | 
					  debug:
 | 
				
			||||||
    msg: "Install Pelles-C"
 | 
					    msg: "Install Pelles-C"
 | 
				
			||||||
- name: Install Wine
 | 
					#- name: Install Wine
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-development
 | 
					#    name: wine-development
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
- name: Install Wine binfmt support
 | 
					#- name: Install Wine binfmt support
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-binfmt
 | 
					#    name: wine-binfmt
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Install icon
 | 
					- name: Install icon
 | 
				
			||||||
  block:
 | 
					  block:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,2 @@
 | 
				
			||||||
- name: Install PowerDesigner
 | 
					# - name: Install PowerDesigner
 | 
				
			||||||
  win_package:
 | 
					#   command: "wine {{ installers }}/PowerDesigner\\ 12.5/cd1/Setup/setup.exe /s /f1\"Z:\\mnt\\ucilnice_d\\install\\PowerDesigner 12.5\\setup.iss\""
 | 
				
			||||||
    path: "{{ installers }}\\PowerDesigner 12.5\\cd1\\setup\\setup.exe"
 | 
					 | 
				
			||||||
    arguments: "/s /f1\"{{ installers }}\\PowerDesigner 12.5\\setup.iss\""
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +1,9 @@
 | 
				
			||||||
# # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
 | 
					# # 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
 | 
					# - name: Install SageMath - Jupyter
 | 
				
			||||||
#   apt:
 | 
					#   apt:
 | 
				
			||||||
#     name: sagemath-jupyter
 | 
					#     name: sagemath-jupyter
 | 
				
			||||||
#     state: latest
 | 
					#     state: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Do not install SageMath
 | 
				
			||||||
 | 
					  debug:
 | 
				
			||||||
 | 
					    msg: SageMath is not installable on Ubuntu 24.04 right now
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,24 +7,23 @@
 | 
				
			||||||
  block:
 | 
					  block:
 | 
				
			||||||
    - name: Set download filenames
 | 
					    - name: Set download filenames
 | 
				
			||||||
      set_fact:
 | 
					      set_fact:
 | 
				
			||||||
    #    cubemx_download_file: C:\CubeMX.exe
 | 
					        cubemx_download_file: C:\CubeMX.exe
 | 
				
			||||||
        cubeprogrammer_download_file: C:\CubeProgrammer.exe
 | 
					        cubeprogrammer_download_file: C:\CubeProgrammer.exe
 | 
				
			||||||
        cubemonitor_download_file: C:\CubeMonitor.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
 | 
					        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_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
 | 
					    #   #dest: C:\CubeMX.exe
 | 
				
			||||||
    #   #register: cubemx_download
 | 
					    #   #register: cubemx_download
 | 
				
			||||||
    #   args:
 | 
					      args:
 | 
				
			||||||
    #     creates: "{{ cubemx_download_file }}"
 | 
					        creates: "{{ cubemx_download_file }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#    - name: Install CubeMX
 | 
					    #- name: Install CubeMX
 | 
				
			||||||
#      win_package:
 | 
					    #  win_package:
 | 
				
			||||||
        # path: "{{cubemx_download.dest}}"
 | 
					    #    path: "{{ cubemx_download_file }}"
 | 
				
			||||||
#        path: "{{ cubemx_download_file }}"
 | 
					    #    arguments: /S
 | 
				
			||||||
#        arguments: /S
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Download CubeProgrammer
 | 
					    - name: Download CubeProgrammer
 | 
				
			||||||
      win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EXHsKDjM6hVAuEGwEWcMyBEB6bHd3HuOP38D7Wjt41vjTw?e=7jatnu&download=1" -O "{{ cubeprogrammer_download_file }}"
 | 
					      win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EXHsKDjM6hVAuEGwEWcMyBEB6bHd3HuOP38D7Wjt41vjTw?e=7jatnu&download=1" -O "{{ cubeprogrammer_download_file }}"
 | 
				
			||||||
| 
						 | 
					@ -34,10 +33,10 @@
 | 
				
			||||||
      args:
 | 
					      args:
 | 
				
			||||||
        creates: "{{ cubeprogrammer_download_file }}"
 | 
					        creates: "{{ cubeprogrammer_download_file }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # - name: Install CubeProgrammer
 | 
					    - name: Install CubeProgrammer
 | 
				
			||||||
    #   win_package:
 | 
					      win_package:
 | 
				
			||||||
    #     path: "{{ cubeprogrammer_download_file }}"
 | 
					        path: "{{ cubeprogrammer_download_file }}"
 | 
				
			||||||
    #     arguments: /S
 | 
					        arguments: /S
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Download CubeMonitor
 | 
					    - name: Download CubeMonitor
 | 
				
			||||||
    # TODO 2024: only zip distributions exists in zip file
 | 
					    # TODO 2024: only zip distributions exists in zip file
 | 
				
			||||||
| 
						 | 
					@ -50,23 +49,23 @@
 | 
				
			||||||
      args:
 | 
					      args:
 | 
				
			||||||
        creates: "{{ cubemonitor_download_file}}"
 | 
					        creates: "{{ cubemonitor_download_file}}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # - name: Install CubeMonitor
 | 
					    - name: Install CubeMonitor
 | 
				
			||||||
    #   win_package:
 | 
					      win_package:
 | 
				
			||||||
    #     path: "{{ cubemonitor_download_file }}"
 | 
					        path: "{{ cubemonitor_download_file }}"
 | 
				
			||||||
    #     arguments: /S
 | 
					        arguments: /S
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # - name: Download STM CUFinder
 | 
					    - 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_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:
 | 
					    #   #win_get_url:
 | 
				
			||||||
    #   #  dest: C:\CUFinder.exe
 | 
					    #   #  dest: C:\CUFinder.exe
 | 
				
			||||||
    #   #register: cubecufinder_download
 | 
					    #   #register: cubecufinder_download
 | 
				
			||||||
    #   args:
 | 
					      args:
 | 
				
			||||||
    #     creates: "{{ cufinder_download_file }}"
 | 
					        creates: "{{ cufinder_download_file }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#    - name: Install STM CUFinder
 | 
					    - name: Install STM CUFinder
 | 
				
			||||||
#      win_package:
 | 
					      win_package:
 | 
				
			||||||
#        path: "{{ cubecufinder_download_file }}"
 | 
					        path: "{{ cubecufinder_download_file }}"
 | 
				
			||||||
#        arguments: /S
 | 
					        arguments: /S
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Download CubeIDE
 | 
					    - name: Download CubeIDE
 | 
				
			||||||
      # win_get_url:
 | 
					      # win_get_url:
 | 
				
			||||||
| 
						 | 
					@ -76,20 +75,20 @@
 | 
				
			||||||
      args:
 | 
					      args:
 | 
				
			||||||
        creates: "{{ cubeide_download_file }}"
 | 
					        creates: "{{ cubeide_download_file }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#    - name: Install CubeIDE
 | 
					    - name: Install CubeIDE
 | 
				
			||||||
#      win_package:
 | 
					      win_package:
 | 
				
			||||||
#        path: "{{ cubeide_download_file }}"
 | 
					        path: "{{ cubeide_download_file }}"
 | 
				
			||||||
#        arguments: /S
 | 
					        arguments: /S
 | 
				
			||||||
# TODO test the installers
 | 
					# TODO test the installers
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
#    - name: Set CubeIDE default workspace
 | 
					    - name: Set CubeIDE default workspace
 | 
				
			||||||
#      win_lineinfile:
 | 
					      win_lineinfile:
 | 
				
			||||||
#        path: C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE\stm32cubeide.ini
 | 
					        path: C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE\stm32cubeide.ini
 | 
				
			||||||
#        regexp: "osgi.instance.area.default"
 | 
					        regexp: "osgi.instance.area.default"
 | 
				
			||||||
#        line: "-Dosgi.instance.area.default=D:/RAVINOR/CubeIDE_Workspace"
 | 
					        line: "-Dosgi.instance.area.default=D:/RAVINOR/CubeIDE_Workspace"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Replace -installIU... with -list to get available packages.
 | 
					    # Replace -installIU... with -list to get available packages.
 | 
				
			||||||
#    - name: Install QEMU
 | 
					    - 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
 | 
					      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:
 | 
					      args:
 | 
				
			||||||
#        chdir: C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE
 | 
					        chdir: C:\ST\STM32CubeIDE_1.10.1\STM32CubeIDE
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,14 @@
 | 
				
			||||||
- name: create destination
 | 
					#- name: create destination
 | 
				
			||||||
  file:
 | 
					#  file:
 | 
				
			||||||
    path: /opt/Arduino
 | 
					#    path: /opt/Arduino
 | 
				
			||||||
    state: directory
 | 
					#    state: directory
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: unpack Arduino
 | 
					# - name: unpack Arduino
 | 
				
			||||||
  unarchive:
 | 
					#  unarchive:
 | 
				
			||||||
    src: 
 | 
					#    src: 
 | 
				
			||||||
    dest: /opt/Arduino-cli
 | 
					#    dest: /opt/Arduino-cli
 | 
				
			||||||
    remote_src: yes
 | 
					#    remote_src: yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#- name: Add .json for new boards
 | 
					#- name: Add .json for new boards
 | 
				
			||||||
# 
 | 
					# https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
 | 
				
			||||||
 | 
					# TODO: write this task file!
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
- name: Install TensorFlow
 | 
					- name: Install TensorFlow
 | 
				
			||||||
  pip:
 | 
					  pip:
 | 
				
			||||||
    executable: pip3
 | 
					    executable: pipx
 | 
				
			||||||
    name: tensorflow
 | 
					    name: tensorflow
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,3 @@
 | 
				
			||||||
- name: Do not install TwinCat 3 on Linux
 | 
					- 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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
- name: Install TwinCat 3
 | 
					- name: Install TwinCat 3
 | 
				
			||||||
  win_chocolatey:
 | 
					  debug:
 | 
				
			||||||
    name: visualstudio2019community
 | 
					    msg: TODO - write twincat installer scripts
 | 
				
			||||||
 | 
					  #win_package:
 | 
				
			||||||
# 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
 | 
					  #  path: "{{ installers }}\\TwinCat3\\setup\\setup.exe"
 | 
				
			||||||
 | 
					  #  arguments: "/s /f1\"{{ installers }}\\PowerDesigner 12.5\\setup.iss\" /f2\"C:\\powerdesigner_log.iss\""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,11 +2,11 @@
 | 
				
			||||||
- name: PowerDesigner
 | 
					- name: PowerDesigner
 | 
				
			||||||
  debug:
 | 
					  debug:
 | 
				
			||||||
    msg: "Unity"
 | 
					    msg: "Unity"
 | 
				
			||||||
- name: Install Wine
 | 
					#- name: Install Wine
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-development
 | 
					#    name: wine-development
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
- name: Install Wine binfmt support
 | 
					#- name: Install Wine binfmt support
 | 
				
			||||||
  apt:
 | 
					#  apt:
 | 
				
			||||||
    name: wine-binfmt
 | 
					#    name: wine-binfmt
 | 
				
			||||||
    state: latest
 | 
					#    state: latest
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +0,0 @@
 | 
				
			||||||
- import_tasks: main_win.yml
 | 
					 | 
				
			||||||
  when: ansible_connection == 'winrm'
 | 
					 | 
				
			||||||
- import_tasks: main_lin.yml
 | 
					 | 
				
			||||||
  when: ansible_connection == 'ssh'
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,2 +0,0 @@
 | 
				
			||||||
- name: Do not install VisualStudio on Linux
 | 
					 | 
				
			||||||
  debug: Do not install VisualStudio on Linux
 | 
					 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,3 @@
 | 
				
			||||||
- name: Do not install VisualStudio on Linux
 | 
					- name: Do not install VisualStudio on Linux
 | 
				
			||||||
  debug: Do not install VisualStudio on Linux
 | 
					  debug:
 | 
				
			||||||
 | 
					    msg: Do not install VisualStudio on Linux
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,5 +6,9 @@
 | 
				
			||||||
    vtype: boolean
 | 
					    vtype: boolean
 | 
				
			||||||
- name: "Install Wireshark"
 | 
					- name: "Install Wireshark"
 | 
				
			||||||
  apt:
 | 
					  apt:
 | 
				
			||||||
    name: wireshark-qt
 | 
					    name: wireshark
 | 
				
			||||||
 | 
					    state: latest
 | 
				
			||||||
 | 
					- name: "Install text-mode wireshark"
 | 
				
			||||||
 | 
					  apt:
 | 
				
			||||||
 | 
					    name: tshark
 | 
				
			||||||
    state: latest
 | 
					    state: latest
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										11
									
								
								winsetup.yml
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								winsetup.yml
									
										
									
									
									
								
							| 
						 | 
					@ -13,11 +13,10 @@
 | 
				
			||||||
    - vars/credentials.yml
 | 
					    - vars/credentials.yml
 | 
				
			||||||
    - vars/software_keys.yml
 | 
					    - vars/software_keys.yml
 | 
				
			||||||
  roles:
 | 
					  roles:
 | 
				
			||||||
    # - fri_base
 | 
					 | 
				
			||||||
    - matlab
 | 
					 | 
				
			||||||
    # - all_classes
 | 
					    # - all_classes
 | 
				
			||||||
    # - android_studio
 | 
					    # - stm32cube
 | 
				
			||||||
    # - octave
 | 
					    - android_studio
 | 
				
			||||||
    # - audacity
 | 
					    #- OR-63717
 | 
				
			||||||
    # - vmware_player
 | 
					    #- RA-63703
 | 
				
			||||||
 | 
					    #- VN-63728
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue