2022-11-16 15:51:26 +00:00
|
|
|
- name: Add Firefox not-a-snap repository
|
|
|
|
block:
|
|
|
|
- name: Pin Firefox PPA package priority
|
|
|
|
template:
|
|
|
|
src: mozilla-firefox-apt-preferences
|
|
|
|
dest: /etc/apt/preferences.d/mozilla-firefox
|
|
|
|
- name: Enable Firefox unattended upgrades
|
|
|
|
template:
|
|
|
|
src: mozilla-firefox-unattended-upgrades
|
|
|
|
dest: /etc/apt/apt.conf.d/51unattended-upgrades-firefox
|
|
|
|
- name: Add Firefox PPA
|
|
|
|
apt_repository:
|
|
|
|
repo: ppa:mozillateam/ppa
|
|
|
|
state: present
|
|
|
|
update_cache: True
|
|
|
|
validate_certs: False
|
|
|
|
|
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
|
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
|
|
|
|
|
|
|
|
- name: Set time to local RTC
|
|
|
|
shell: "timedatectl set-local-rtc 1 --adjust-system-clock"
|
|
|
|
|
2023-05-01 16:32:44 +00:00
|
|
|
- name: Enable Wake-on-LAN
|
|
|
|
import_tasks: wake-on-lan.yml
|
2022-09-28 13:58:05 +00:00
|
|
|
|