Commit graph

84 commits

Author SHA1 Message Date
Raphael Dannecker
f8d93baa85 Fix name of reporter_server 2025-04-03 11:54:57 +02:00
Raphael Dannecker
84c7a4d1c6 Activate reporter by setting misc_reporter to true
The reporting service can still be installed without sending automatic reports.
This allows an automatic report to be sent after the initial installation.
The report can also be triggered by user interaction.
2025-04-03 10:54:15 +02:00
Raphael Dannecker
aa9a1fca43 Move all variables from the vault to the inventory 2025-04-03 09:58:54 +02:00
Raphael Dannecker
513d29d628 Add an option to force logout if the home on server fails to mount 2025-04-02 13:55:10 +02:00
Raphael Dannecker
0f4e455717 Use vm_torrent_srv to configure the torrent server 2025-04-01 15:45:11 +02:00
Raphael Dannecker
320ad3a51d Use wlan_eap_ca_crl for URL of the certificate revocation list 2025-04-01 15:31:19 +02:00
Raphael Dannecker
f6b77c64cf Use kerberize_uris for chromium AuthServerAllowlist too 2025-04-01 15:09:25 +02:00
Raphael Dannecker
333b57cd8b Add a switch to remove plasma-discover and thus prevent update notifications 2025-03-31 20:40:03 +02:00
Raphael Dannecker
3615ef241c Move 'Fix primary screen' task to role 2025-03-31 20:18:47 +02:00
Raphael Dannecker
ce40cb885f Create own role for the usersquid http_proxy functionality 2025-03-31 18:13:50 +02:00
Raphael Dannecker
68215897a6 Move 'pwroff on idle' task to role 2025-03-31 14:37:42 +02:00
Raphael Dannecker
e52c01615c Define variable for additional printer admin group
Add a new variable `printer_admin_group` to specify additional CUPS admin group.
When set to `role-teacher`, teachers will have the ability to add and remove printers.
2025-03-29 11:12:46 +01:00
Raphael Dannecker
ec3dd70a59 Allow teachers on teacherlaptops to install untrusted packages 2025-03-28 11:32:10 +01:00
Raphael Dannecker
5b19a529f2 Collect some general tasks from other roles into role_misc
Control execution of task by variables with defaults.
2025-03-26 14:44:19 +01:00
Raphael Dannecker
a8736395c8 Enable wlan on boot by variable instead of membership in group teacherlaptop 2025-03-26 12:14:02 +01:00
Raphael Dannecker
2602189911 Control execution of localuser by variable instead of group-membership 2025-03-25 09:14:47 +01:00
Raphael Dannecker
91ab4d3511 Implement the custom role concept
- Custom Ansible roles can be stored in the `roles/custom` directory
- The list `custom_roles` determines which roles are included
2025-03-24 14:09:18 +01:00
Finn Hercke
c4e35584bc Remove role lmn_teacherlaptop and extend role lmn_security
- Add variable to configure sudo-program permissions (`sudo_permissions`)
- Add variable to configure polkit-rules (`polkit_rules`)
- Migrate sudo and polkit permissions from lmn_teacherlaptop role to inventory
2025-03-24 12:14:48 +01:00
Finn Hercke
c00d5566dd Move extrapackage installation into separate role and make it more flexible
- Introduce `extra_pkgs1` - `extra_pkgs10`
- Introduce `extra_pkgs_bpo1` - `extra_pkgs_bpo10`
- Move package-list from lmn_teacherlaptop into inventory as extra_pkgs1
2025-03-24 10:30:32 +01:00
Raphael Dannecker
f1cb7486a5 Refactor lmn_vpn role
- Separate `lmn_vpn` from `lmn_teacherlaptop`.
- Implement a check for the availability of the wireguard-server during the wg-config rollout.
- Enhance variable support with a standardized naming schema:
  - VPN selection via `vpn` variable (`none`, `wg`).
  - Wireguard configuration (endpoint, allowed IPs, ip_cdr, dns, searchpath).
- Run wg-config role in separate play with serial 1 to avoid conflicts, when the role attempts
  to determine the next free Wireguard IP on the server when role try to Add a check to verify if the radius certificate is revoked.
- Ensure required packages and services are only installed and configured if the `vpn` variable is set.
- Provide documentation for `lmn_vpn` module.
2025-03-20 21:13:20 +01:00
Finn Hercke
a68aaeb81c Refactor lmn_wlan role
- Consolidate `lmn_wlan`, `lmn_wlan_nm`, and `lmn_wlan_8021x` into single `lmn_wlan` role.
- Implement a check for the availability of the radius-server during the EAP-TLS rollout.
- Enhance variable support with a standardized naming schema:
    - Mode selection via `wlan` variable (`none`, `psk`, `eap-tls`).
    - EAP-TLS CA configuration (CA information, email address, CA password).
    - Introduce a switch to force the (re-)issue of existing certificates.
    - PSK configuration through `wlan_ssid` and `wlan_password`.
- Add a check to verify if the radius certificate is revoked.
- Ensure required packages and services are only installed and configured if the `wifi` variable is set.
2025-03-20 16:37:04 +01:00
Raphael Dannecker
9f1c60eefd Use variable instead of group membership to install localhome
Use variable localhome to determines whether the localhome module is installed.
Default: localhome=false

Further changes:
- Move pam-exec from common-auth to common-session
- Move pam-mkhomedir before pam-mount to avoid double login on first use
  on localhome devices
2025-03-19 11:08:57 +01:00
Raphael Dannecker
3d01394820 Separate exam-mode stuff in own role 2025-03-18 14:37:13 +01:00
Raphael Dannecker
72340155ed Correct ansible syntax to pass ansible-lint 2025-02-27 12:20:57 +01:00
Raphael Dannecker
985e02443c Hardware has changed in some classrooms 2025-01-22 14:45:14 +01:00
Raphael Dannecker
9ab774ef24 Set default audio to line out for some devices 2024-11-27 12:06:03 +01:00
Raphael Dannecker
017b6759ce Add new hosts to inventory 2024-11-26 12:46:48 +01:00
Raphael Dannecker
c0770ac5d7 Hosts added to inventory 2024-11-08 07:29:32 +01:00
Raphael Dannecker
10e386d824 Hosts added to inventory 2024-11-05 10:41:51 +01:00
Raphael Dannecker
864965a29d Add CU051 laptops to inventory 2024-10-23 14:33:35 +02:00
Raphael Dannecker
cb1d92ee3d Add A135 laptops to inventory 2024-10-23 09:54:20 +02:00
Raphael Dannecker
c068e85339 Fix primary screen for class room PCs with projector
Fixed EDID modes are set on the HDMI switch (ACER 120Hz problem).
This means that the affected PCs always see a second screen, even if beamer is off.

To avoid confusion, it must be ensured that no information is displayed on invisible devices:
- set primary screen for login dialog
- set primary screen after login
- clone screen
If the primary screen deviates from the standard, this information is maintained via inventory.

In addition, some PCs have different audio autputs than HDMI (or they have multiple HDMI outputs).
It is therefore possible to specify the audio device in the inventory.
2024-10-14 14:49:25 +02:00
Raphael Dannecker
b8afbcde08 Add host to inventory 2024-09-26 11:40:31 +02:00
Raphael Dannecker
9cf82fa0c2 Add workshop to inventory 2024-09-25 15:08:35 +02:00
Raphael Dannecker
a6387f58e5 Hosts added to inventory and dual-screen info updated 2024-09-25 08:41:07 +02:00
Raphael Dannecker
8b37c5b021 Add r112pc02 to inventory 2024-09-16 08:48:43 +02:00
Andreas B. Mundt
fe2fcf9add Add copy room host 2024-09-11 16:12:30 +02:00
Andreas B. Mundt
beeef6f689 Fix dual screen setup 2024-09-10 15:56:08 +02:00
Raphael Dannecker
90ead28033 Add device with name to inventory 2024-09-10 14:54:38 +02:00
Raphael Dannecker
35262c4ac5 Add device to inventory 2024-09-10 14:00:37 +02:00
Raphael Dannecker
b47d453922 Add more hosts to inventory 2024-07-24 08:29:07 +02:00
Andreas B. Mundt
fde0634f85 Add two more hosts to inventory 2024-07-23 08:19:00 +02:00
Andreas B. Mundt
e1e06405ea Additional hosts and primary/dual screen fixes 2024-07-19 10:13:01 +02:00
Raphael Dannecker
be367b0b1f Add R115, R117 and R121 to inventory. 2024-07-14 22:32:29 +02:00
Raphael Dannecker
805309ceb1 Remove A134 teacher-pc-IP from laptop section in inventory. 2024-07-11 09:05:08 +02:00
Raphael Dannecker
c536aac6a5 Add E026 and E029 by name to inventory. 2024-07-10 14:13:52 +02:00
Raphael Dannecker
bee1172b27 Add E026 and E029 to inventory. 2024-07-10 14:00:51 +02:00
Raphael Dannecker
721ed77e16 Add R016 to inventory. 2024-07-10 11:07:16 +02:00
Raphael Dannecker
d71b67dc61 Activate A134 devices in inventory by IP. 2024-07-10 09:08:20 +02:00
Raphael Dannecker
3b8b03cf59 Add teacher-pc A127 to inventory. 2024-07-07 11:01:58 +02:00