2023-09-11 12:26:43 +00:00
|
|
|
- name: Install firefox
|
|
|
|
- include_tasks: firefox.yml
|
|
|
|
|
2023-09-11 15:10:13 +00:00
|
|
|
- name: Install Libre Office
|
|
|
|
- include_tasks: libreoffice.yml
|
|
|
|
|
2023-09-11 12:26:43 +00:00
|
|
|
- name: Install 7zip
|
|
|
|
- include_tasks: 7zip.yml
|
2022-11-16 15:51:26 +00:00
|
|
|
|
2022-09-28 10:55:23 +00:00
|
|
|
- name: Install generally useful packages
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- i3
|
|
|
|
- sway
|
|
|
|
- vlc
|
|
|
|
- mpv
|
|
|
|
- ffmpeg
|
|
|
|
- emacs
|
|
|
|
- kwrite
|
|
|
|
- kate
|
|
|
|
- krita
|
|
|
|
- blender
|
2022-09-28 13:58:05 +00:00
|
|
|
- inkscape
|
2022-09-28 10:55:23 +00:00
|
|
|
- pcmanfm-qt
|
|
|
|
- qutebrowser
|
2022-09-28 13:58:05 +00:00
|
|
|
- chromium-browser
|
2022-09-28 10:55:23 +00:00
|
|
|
- firefox
|
|
|
|
- qemu
|
|
|
|
- qemu-kvm
|
2022-09-28 13:58:05 +00:00
|
|
|
- qemu-utils
|
2022-09-28 10:55:23 +00:00
|
|
|
- virt-manager
|
|
|
|
- wine-development
|
|
|
|
- dosbox
|
2022-09-28 13:58:05 +00:00
|
|
|
- webext-ublock-origin-chromium
|
|
|
|
- webext-ublock-origin-firefox
|
2022-09-28 10:55:23 +00:00
|
|
|
- nethack-console
|
|
|
|
- zsh
|
|
|
|
- tmux
|
|
|
|
- screen
|
|
|
|
- curl
|
2022-09-28 13:58:05 +00:00
|
|
|
- git-gui
|
|
|
|
- git-cola
|
|
|
|
- kdiff3
|
|
|
|
- thonny
|
2022-11-16 15:51:26 +00:00
|
|
|
- ttf-mscorefonts-installer
|
|
|
|
- libhivex-bin
|
2023-02-27 12:26:23 +00:00
|
|
|
- overlayroot
|
2023-09-09 20:37:23 +00:00
|
|
|
- nfs-common
|
|
|
|
- cifs-utils
|
2022-09-28 10:55:23 +00:00
|
|
|
state: latest
|
2022-09-28 13:58:05 +00:00
|
|
|
update_cache: yes
|
2022-09-28 10:55:23 +00:00
|
|
|
|
2022-11-16 15:51:26 +00:00
|
|
|
- name: Remove broken or unnecessary packages
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- xfce4-screensaver
|
|
|
|
- xscreensaver
|
|
|
|
state: absent
|
|
|
|
|
2022-09-28 10:55:23 +00:00
|
|
|
- name: Set up additional groups for students
|
2022-11-16 15:51:26 +00:00
|
|
|
vars:
|
|
|
|
additional_groups:
|
|
|
|
- wireshark
|
|
|
|
- kvm
|
|
|
|
- dialout
|
|
|
|
- libvirt
|
|
|
|
- vboxusers
|
|
|
|
- ubridge
|
|
|
|
- docker
|
2022-09-28 13:58:05 +00:00
|
|
|
block:
|
|
|
|
- name: create user@.service.d
|
|
|
|
file:
|
|
|
|
path: /etc/systemd/system/user@.service.d
|
|
|
|
state: directory
|
2022-11-16 15:51:26 +00:00
|
|
|
- name: override groups in systemd
|
2022-09-28 13:58:05 +00:00
|
|
|
template:
|
|
|
|
src: systemd_group_override.conf
|
|
|
|
dest: /etc/systemd/system/user@.service.d/override.conf
|
2022-11-16 15:51:26 +00:00
|
|
|
- name: create /etc/security/group.conf
|
|
|
|
template:
|
|
|
|
src: security_group.conf
|
|
|
|
dest: /etc/security/group.conf
|
|
|
|
- name: create pam config for libpam_group
|
|
|
|
template:
|
|
|
|
src: pamconfig_groups
|
|
|
|
dest: /usr/share/pam-configs/groups
|
|
|
|
- name: enable libpam_group
|
|
|
|
shell: pam-auth-update --enable groups
|
2022-09-28 10:55:23 +00:00
|
|
|
|
|
|
|
- name: Set default keyboard layout to SI
|
2022-09-28 13:58:05 +00:00
|
|
|
template:
|
|
|
|
src: default_keyboard
|
|
|
|
dest: /etc/default/keyboard
|
|
|
|
|
2023-09-09 20:37:23 +00:00
|
|
|
- name: Add mount - C
|
|
|
|
mount:
|
|
|
|
boot: true
|
|
|
|
fstype: ntfs3
|
|
|
|
src: UUID=A09E30889E30594C
|
|
|
|
path: /mnt/C
|
|
|
|
state: mounted
|
|
|
|
opts: defaults,nofail
|
|
|
|
|
|
|
|
- name: Add mount - D
|
|
|
|
mount:
|
|
|
|
boot: true
|
|
|
|
fstype: ntfs3
|
|
|
|
src: "LABEL=D:"
|
|
|
|
path: /mnt/D
|
|
|
|
state: mounted
|
|
|
|
opts: defaults,nofail
|
|
|
|
|
|
|
|
- name: Add mount - F
|
|
|
|
mount:
|
|
|
|
boot: true
|
|
|
|
fstype: ntfs3
|
|
|
|
src: "LABEL=F:"
|
|
|
|
path: /mnt/F
|
|
|
|
state: mounted
|
|
|
|
opts: defaults,nofail
|
|
|
|
|
|
|
|
- name: Add mount - partimag
|
|
|
|
mount:
|
|
|
|
boot: true
|
|
|
|
fstype: nfs
|
|
|
|
src: "10.32.254.16:/srv/nfs/clonezilla_images"
|
|
|
|
path: /home/partimag
|
|
|
|
state: mounted
|
|
|
|
opts: defaults,nofail
|
|
|
|
|
|
|
|
- name: Add mount - ucilnice_d
|
|
|
|
mount:
|
|
|
|
boot: true
|
|
|
|
fstype: cifs
|
|
|
|
src: "//ucilnicesmb.fri1.uni-lj.si/ucilnice_d"
|
|
|
|
path: /mnt/ucilnice_d
|
|
|
|
state: mounted
|
|
|
|
opts: guest,soft,nofail
|
|
|
|
|
2022-09-28 13:58:05 +00:00
|
|
|
- name: Set time to local RTC
|
|
|
|
shell: "timedatectl set-local-rtc 1 --adjust-system-clock"
|
|
|
|
|
2023-09-11 12:26:43 +00:00
|
|
|
- name: Install ethtool
|
|
|
|
apt:
|
|
|
|
name: ethtool
|
|
|
|
state: latest
|
2022-09-28 13:58:05 +00:00
|
|
|
|
2023-09-11 12:26:43 +00:00
|
|
|
- name: Add udev rule to enable wake-on-lan for ethernet interfaces
|
|
|
|
copy:
|
|
|
|
dest: /etc/udev/rules.d/
|
|
|
|
src: 99-wakeonlan.rules
|