Fix / extend README

This commit is contained in:
Gašper Fele-Žorž 2025-09-02 11:22:49 +02:00
parent 0d1e32c626
commit 93b01e5d53
11 changed files with 267 additions and 32 deletions

View file

@ -24,7 +24,7 @@
- name: "Rename"
# Racunalnik najprej preimenujmo, da ne bosta v domeni obenem 2 z istim imenom
hostname:
name: "{{inventory_hostname}}"
name: "{{inventory_hostname}}-linux"
register: hostname_res
- name: Check whether we already joined
@ -33,7 +33,7 @@
- name: Join using realmd
expect:
command: realm join --user={{ad_join_user}} --computer-ou={{ou_path}} FRI1.UNI-LJ.SI
command: realm join --user={{ad_join_user}} --computer-ou={{ou_path}} {{domain_name}}
responses:
(?i)Password: "{{ad_join_password}}"
ignore_errors: yes

View file

@ -36,8 +36,8 @@
- name: "Join domain"
win_domain_membership:
domain_admin_user: "{{adjoin_user}}"
domain_admin_password: "{{adjoin_password}}"
domain_admin_user: "{{ad_join_user}}"
domain_admin_password: "{{ad_join_password}}"
dns_domain_name: "{{domain_name}}"
domain_ou_path: "{{ou_path}}"
hostname: "{{inventory_hostname}}"

View file

@ -12,4 +12,4 @@
win_lineinfile:
path: "%ProgramFiles%\\Eclipse {{ target_version }}\\eclipse\\eclipse.ini"
regexp: "osgi.instance.area.default"
line: "-Dosgi.instance.area.default=H:/Documents/eclipse-workspace"
line: "-Dosgi.instance.area.default=D:/Documents/eclipse-workspace"

View file

@ -2,7 +2,7 @@
set_fact:
target_version: "R2025a_Update_1"
license_path: \\ucilnicesmb.fri1.uni-lj.si\ucilnice_d\install\matlab\network.lic
dest_dir: C:\matlab
dest_dir: "{{ large_prog_dir }}\\matlab"
- name: Set ISO path
set_fact:

View file

@ -8,4 +8,4 @@
state: upgrade
version: "{{ target_version }}"
# TODO set default project directory to H:\something
# TODO set default project directory to {{large_prog_dir}}\something

View file

@ -5,7 +5,7 @@
- name: Set SiFive Studio install location
set_fact:
download_filedest: C:\FreedomStudio-4.18.0.2021-04-1-x86_64-w64-mingw32.zip
download_filedest: "{{ large_prog_dir }}\\FreedomStudio-4.18.0.2021-04-1-x86_64-w64-mingw32.zip"
- name: Download SiFive
win_command: wget "https://unilj-my.sharepoint.com/:u:/g/personal/bulic_fri1_uni-lj_si/EdiSnJpoClJLtc3AtcAtEQ4BI76_PeDvL-ZmhxG4OEyvig?e=xBRYcb&download=1" -O "{{ download_filedest }}"
args:
@ -14,12 +14,12 @@
- name: Unzip SiFive Studio
win_unzip:
src: "{{ download_filedest }}"
dest: C:\SiFive\
creates: C:\SiFive\plugins
dest: "{{ large_prog_dir }}\\SiFive\\"
creates: "{{ large_prog_dir }}\\SiFive\\plugins"
delete_archive: yes
- name: Create desktop shortcut
win_shortcut:
description: "SiFive Freedom Studio"
src: C:\SiFive\FreedomStudio.exe
src: "{{ large_prog_dir }}\\SiFive\\FreedomStudio.exe"
dest: '%public%\Desktop\SiFive.lnk'

View file

@ -10,13 +10,13 @@
- name: Create STM32Duino directory
win_file:
path: "D:\\RAVINOR\\STM32Duino"
path: "{{large_prog_dir}}\\RAVINOR\\STM32Duino"
state: directory
- name: Install preinstalled STM32Duino & Arduino environment
win_get_url:
url: "https://unilj-my.sharepoint.com/:u:/g/personal/rozman_fri1_uni-lj_si/EYTFhlsJOFtFk9xsaViP0eYBtILVS24ZF_dlkgodu_L9Nw?e=geavvJ"
dest: "D:\\RAVINOR\\STM32Duino"
dest: "{{large_prog_dir}}\\RAVINOR\\STM32Duino"
# TODO Don't know if unzipping is required?

View file

@ -1,6 +1,7 @@
- name: Install XAMPP
win_chocolatey:
name: xampp-81
install_args: ""
- name: Make XAMPP config world writable
win_acl:
@ -12,7 +13,7 @@
- name: Add firewall rules for XAMPP
win_firewall_rule:
name: "Allow inbound traffic for XAMPP: {{ item }}"
program: "%SystemDrive%\\xampp\\{{ item }}"
program: "C:\\xampp\\{{ item }}"
action: allow
direction: in
protocol: tcp