classroom/roles/linroom/tasks/fri_base.yml

152 lines
3.1 KiB
YAML
Raw Normal View History

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
- 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
- pcmanfm-qt
- qutebrowser
2022-09-28 13:58:05 +00:00
- chromium-browser
- firefox
- qemu
- qemu-kvm
2022-09-28 13:58:05 +00:00
- qemu-utils
- virt-manager
- wine-development
- dosbox
2022-09-28 13:58:05 +00:00
- webext-ublock-origin-chromium
- webext-ublock-origin-firefox
- nethack-console
- zsh
- tmux
- screen
- curl
2022-09-28 13:58:05 +00:00
- git-gui
- git-cola
- kdiff3
- thonny
- ttf-mscorefonts-installer
- libhivex-bin
- overlayroot
2023-09-09 20:37:23 +00:00
- nfs-common
- cifs-utils
state: latest
2022-09-28 13:58:05 +00:00
update_cache: yes
- name: Remove broken or unnecessary packages
apt:
name:
- xfce4-screensaver
- xscreensaver
state: absent
- name: Set up additional groups for students
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
- 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
- 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
- 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