Commit graph

738 commits

Author SHA1 Message Date
Raphael Dannecker
30749ac24b Typo corrected. 2024-04-29 08:16:27 +02:00
Raphael Dannecker
278eeec33a Hostname without domain in inventory. 2024-04-29 07:36:38 +02:00
Raphael Dannecker
12d7fbdbb1 Add groups localhome and teacherlaptop to inventory. 2024-04-28 19:57:21 +02:00
Raphael Dannecker
06d7360677 Introduction of a new device class (teacherlaptop).
- Wifi-devices will be managed by NetworkManager
 - (USB-)Dockingstation with same MAC as internal device
   will be assigned to virbr1
 - users with role-teacher have privilege
   - to create new NetworkManager connections
   - install additional software
   - change luks-key
 - package plasma-discover will not be removed (for teacherlaptops)
 - http-proxy-Settings will be configured by auto-detect
 - providing sudo-script to mount default-school from server after
   wireguard-connection is established
2024-04-28 19:37:13 +02:00
Raphael Dannecker
d46e1199ad Use systemd-networkd if two network cards are installed (important for TIA devices). 2024-04-28 19:37:13 +02:00
Raphael Dannecker
40c0888928 remove sddm login screen patch with deprecated marker homondisk (now: localhome) 2024-04-28 19:37:13 +02:00
Raphael Dannecker
08f0f082fd Introduction of a new device class (localhome).
- user-home is on local disk
- additional entry in dolphin: home@server
- display info about localhome on login-screen
- provide unison-config for sync home with home@server
- force user to be logged out immediately after first login, because
  home-dir must exists for bind-mounts on /lmn/media
2024-04-28 19:37:13 +02:00
Raphael Dannecker
4aeee9442c Allow local squid direct internet access if parent proxy not available. This is important for devices that are not exclusively in the school network. 2024-04-28 19:37:13 +02:00
Raphael Dannecker
ecad541567 Make sure there is at least 5GB of free space after the VM sync. 2024-04-28 19:37:13 +02:00
Andreas B. Mundt
6e578a6d95 Remove mosquitto service that was added accidentially. 2024-04-16 12:17:08 +02:00
Raphael Dannecker
849ce03009 Add classroom-teacher-pc. 2024-04-16 12:02:35 +02:00
Andreas B. Mundt
06de050a29 Install packages needed for reading programming docu. 2024-04-16 11:55:44 +02:00
Andreas B. Mundt
3230946e7b Install packages, mostly for programming. 2024-04-12 08:21:03 +02:00
Andreas B. Mundt
4ead77b5d0 Update codeblocks again. 2024-04-07 16:01:05 +02:00
Andreas B. Mundt
573e381b5e Addressing too many hosts in a single run seems to cause hangs. 2024-03-13 17:11:53 +01:00
Raphael Dannecker
fe35721438 Fix implementing printing from virtual machines.
Don't abort ansible run if cups printer.conf doesn't exists
2024-03-13 16:25:17 +01:00
Raphael Dannecker
72b971be13 Try named based inventory
If computers get new IP addresses via DHCP, they may be assigned to the wrong
group in the inventory. For example, laptops that are no longer in the homeondisk group.

A DNS based inventory could solve the problem.
2024-03-13 16:25:17 +01:00
Andreas B. Mundt
912a5f1162 Merge commits need one more line. 2024-03-13 13:14:26 +01:00
Raphael Dannecker
eab3b75bff Fix implementing printing from virtual machines.
Already installed "IPP everywhere" printers have to be replaced by
"driverless" printers.

Fix Listen address in cupsd.conf because VMBridge IP is not yet avaible
when cups is starting.
2024-03-13 13:06:47 +01:00
andi
9bce299c55 Initial commit 2024-03-13 13:03:12 +01:00
Andreas B. Mundt
92bacc4dd3 Merge branch 'fvs' 2024-03-12 19:45:10 +01:00
andi
24fcf70e1d Initial commit 2024-03-12 17:53:49 +00:00
Andreas B. Mundt
e7aa91e7f8 Make lmn-client a separate repository.
Remove all playbooks and roles not used for the lmn-client playbook.
They are almost all maintained within the debian-lan-ansible project
at:
     https://salsa.debian.org/andi/debian-lan-ansible/
2024-03-12 18:41:04 +01:00
Andreas B. Mundt
fe7ec2f2e9 Clean up cachefsd leftover. 2024-03-12 16:42:18 +01:00
Andreas B. Mundt
b4a78bdd84 Revert "Implement cifs caching with cachefilesd."
This reverts commit 6c7209e82b.
2024-03-12 11:25:18 +01:00
Andreas B. Mundt
ab70115e85 Fix Desktop PC that ended up in laptop group. 2024-03-12 11:19:50 +01:00
Andreas B. Mundt
ac97b0d3a4 Work around interrupted dpkg run. 2024-03-12 11:11:22 +01:00
Raphael Dannecker
4c6a499cf0 Fix misspelled name of lmnsynci-User. 2024-03-12 10:39:18 +01:00
Raphael Dannecker
b271d4978e Create vm_usage_information.txt in not exists. 2024-03-12 09:21:07 +01:00
Raphael Dannecker
7667f12399 use correct path to rfkill 2024-03-12 08:59:53 +01:00
Raphael Dannecker
30f24bb666 delete old VM-images when running out of space 2024-03-10 10:02:31 +01:00
Raphael Dannecker
c99ec444f8 create printerlist.csv to inform VMs about available printers 2024-03-10 10:02:31 +01:00
Andreas B. Mundt
ed7dadf612 Fix ansible run during installation with limitted groups. 2024-02-24 11:30:54 +01:00
Andreas B. Mundt
8856b74e91 Install customized CodeBlocks packages in all PC rooms. 2024-02-24 11:30:54 +01:00
Andreas B. Mundt
94b6aaf640 Throttling not needed with patched apt-cacher-ng, cf. #1022043. 2024-02-24 11:30:54 +01:00
Andreas B. Mundt
05481f114f Add missing host. 2024-02-24 11:30:54 +01:00
Andreas B. Mundt
e3db074ba7 Use groups instead of boolean group varibles. 2024-02-24 11:30:54 +01:00
Andreas B. Mundt
ad76bbd1f1 For some laptops, wifi is off after booting. 2024-02-24 11:30:54 +01:00
Andreas B. Mundt
665109ef55 Improve emitter and time stamping.
The emitter failed to keep book on hosts where ansible did not succeed.
2024-02-24 11:30:54 +01:00
Andreas B. Mundt
37e4108021 Provide dual screen setup where needed.
For SDDM, the projector is switched off: dual_screen[0].
For Wayland, dual_screen[1] is set as primary screen.
2024-02-14 15:06:05 +01:00
Andreas B. Mundt
07f34be546 Fix VMs with home on CIFS. 2024-02-14 15:06:05 +01:00
Andreas B. Mundt
d4f6d91f15 Allow starting multiple VMs where the first uses the macvtap device. 2024-02-13 20:16:47 +01:00
Raphael Dannecker
9320f6fd67 allways pull torrent-files from backing-files 2024-02-08 09:22:26 +01:00
Raphael Dannecker
1a9cb2d68a fix path of qcow2 file for outdated-check 2024-02-08 07:22:40 +01:00
Andreas B. Mundt
72a134fcbf Fixes for the laptop role merged before.
Packages need to be installed before messing around
with network configurations.
2024-02-07 17:20:11 +01:00
Andreas B. Mundt
cb41f2cbac Merge branch 'fvs-wlanstick-feature' into fvs 2024-02-06 17:55:42 +01:00
Andreas B. Mundt
b442573b86 Proposed-updates task sometimes hangs. Try fix. 2024-02-06 15:23:52 +01:00
Raphael Dannecker
2cb8ff0c51 A134 hosts added 2024-02-06 13:42:04 +01:00
Raphael Dannecker
d93192dad8 clean up some deprecated networkd configs 2024-02-06 13:40:11 +01:00
Raphael Dannecker
f8bf585b5f Set virbr1's MAC to en*'s MAC 2024-02-06 13:39:02 +01:00