Commit graph

51 commits

Author SHA1 Message Date
Andreas B. Mundt
df50907006 Deploy latest codeblocks again 2024-09-06 13:39:32 +02:00
Andreas B. Mundt
5192b27d9e Move ansible last run stamping to better location
Before, only root could read the file containing the stamps.
2024-07-24 08:50:20 +02:00
Andreas B. Mundt
37943179c8 Start removing tasks not needed anymore (Debian 12.6 point release). 2024-06-29 18:48:03 +02:00
Andreas B. Mundt
55b89ac912 Fix misleading 'file-has-changed' message in spyder on CIFS.
The issue has been reported to upstream in spyder-ide/21877.
The patch implements a more tolerant file modification detection
and only reports differences greater than 1000 ms.
2024-06-21 08:25:28 +02:00
Andreas B. Mundt
040b017b40 Fix search syntax. 2024-06-21 08:12:08 +02:00
Andreas B. Mundt
3573fa3697 Use unattended-upgrades again to make sure packages are up-to-date.
We don't have the time to test all upgrades in advance.  Therefore, it's
safer to install all updates unattended and live with the (rare) risk of
faulty ones.

This reverts the commits:
  b4d9cbdb94
  a29d89a7ab
2024-06-14 09:19:57 +02:00
Raphael Dannecker
2ba7d84b78 Local default user disabled on teacherlaptops. 2024-06-13 09:12:48 +02:00
Raphael Dannecker
9fa3b411ce New version of kio fix. 2024-06-11 14:47:16 +02:00
Raphael Dannecker
07ff7f258c Merge branch 'macvtap' into fvs 2024-06-11 14:45:15 +02:00
Raphael Dannecker
c3d7692f21 Remove NetworkManager connection Wired Connection.
NetworkManager has problems using the default 'Wired Connection 1'
setting for more than one network card, so it is better to remove this file
and NetworkManager will use default 'Wired Connections' in memory.
2024-06-11 13:37:56 +02:00
Raphael Dannecker
9c068dd915 Wireguard client and WLAN-SSID-Config.
NetworkManager wireguard VPN-config will be created and updated.
Split configuration of WLAN-SSID in inventory (SSID) and vault (secret).
2024-06-11 13:25:34 +02:00
Raphael Dannecker
4b4328bde5 Remove deprecated macvtap NetworkManager config. 2024-06-04 14:28:06 +02:00
Raphael Dannecker
93d261e73b Network devices are now only managed by NetworkManager.
Systemd-networkd is no longer used.
NetworkManager creates a MACVTAP device for each physical Ethernet device.
When calling vm-run with option macvtap, all macvtap-devices are passed to the VM.
2024-05-23 09:58:41 +02:00
Raphael Dannecker
a8d74fce5b Install kio-package with bugfix (documents may get lost on SMB shares) 2024-05-06 11:30:18 +02:00
Raphael Dannecker
81b268cff9 Use systemd-networkd for devices with more than 1 physical ethernet device. 2024-04-30 12:06:36 +02:00
Raphael Dannecker
749b8e1e17 Move libreoffce-samba-fix to bookworm-fix section. 2024-04-30 09:26:43 +02:00
Raphael Dannecker
59649b0bff Remove libreoffice-kf5 (documents may get lost on SMB shares). 2024-04-30 08:35:25 +02:00
Raphael Dannecker
30749ac24b Typo corrected. 2024-04-29 08:16:27 +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
Andreas B. Mundt
6e578a6d95 Remove mosquitto service that was added accidentially. 2024-04-16 12:17:08 +02:00
Andreas B. Mundt
4ead77b5d0 Update codeblocks again. 2024-04-07 16:01:05 +02: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
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
Andreas B. Mundt
fe7ec2f2e9 Clean up cachefsd leftover. 2024-03-12 16:42:18 +01:00
Raphael Dannecker
b271d4978e Create vm_usage_information.txt in not exists. 2024-03-12 09:21:07 +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
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
Raphael Dannecker
d93192dad8 clean up some deprecated networkd configs 2024-02-06 13:40:11 +01:00
Raphael Dannecker
94f19984e1 Merge branch 'fvs' into fvs-wlanstick-feature 2024-02-06 08:09:23 +01:00
Andreas B. Mundt
6e49613f4c Merge branch 'dev-vm' into fvs 2024-02-05 19:57:39 +01:00
Andreas B. Mundt
202ca25466 Improve emitter logic: Only run upgrade tasks if full run not needed.
If a machine's timestamp is older than the date of the last
git commit, do a full ansible run.  If the time stamp is older
than the trigger time (given as argument to 'emitter') but
younger than the latest git commit, run only the upgrade tasks.

A single outdated machine triggers the full run for all
machines in the list.
2024-02-02 19:25:30 +01:00
Raphael Dannecker
fb4041b6f2 remove old desktop VM-starters 2024-01-30 15:17:02 +01:00
Raphael Dannecker
f62969b2c2 remove deprecated networkd and NetworkManager entries 2024-01-30 08:26:55 +01:00
Andreas B. Mundt
57ec856f49 Avoid exposing passwords in the process list, use a password file. 2024-01-20 07:56:48 +01:00
Andreas B. Mundt
57e090034d Move ansible stamps to root directory to fix installation.
During installation, ansible-pull is run as root,
'/home/ansible/.ansible/' does not exist.
2024-01-17 13:05:22 +01:00
Andreas B. Mundt
aa8bc09ce6 Implement time stamp and improve reporter syntax.
The directory access time used so far is modified on every
ansible run and independent of the ansible module/playbook.
2024-01-16 11:59:18 +01:00
Andreas B. Mundt
00194514ab Improve kernel regression handling. 2024-01-12 17:45:20 +01:00
Andreas B. Mundt
c24ea63ed8 Work around kernel CIFS regression. 2024-01-11 17:24:54 +01:00
Andreas B. Mundt
b4d9cbdb94 Remove unattended-upgrades leftover. 2024-01-11 17:24:54 +01:00
Raphael Dannecker
47844f3019 extra network interface for TIA VM 2023-11-15 14:57:05 +01:00
Andreas B. Mundt
5818c027ac Clean up print queue script and implementation. 2023-11-11 18:11:02 +01:00
Raphael Dannecker
70c45c477f printerservers vaulted 2023-11-09 16:51:09 +01:00
Raphael Dannecker
f7c7eb1901 check if rmlpr.timer is installed before disabling 2023-11-09 13:42:02 +01:00
Raphael Dannecker
50e88b0b65 Merge branch 'fvs' of gitlab.steinbeisschule-reutlingen.de:L_MDT/debian-lan4fvs into fvs 2023-11-09 09:11:45 +01:00
Raphael Dannecker
0e4073336a printing role without lmn-linuxmusterclient7 2023-11-09 09:10:23 +01:00
Andreas B. Mundt
a057159c24 Implement systemd-networkd and iwd for WLAN connection. 2023-11-09 08:16:02 +01:00