Include more details in sample-inventory

This commit is contained in:
Raphael Dannecker 2026-07-08 12:11:08 +02:00
parent 328f3af68b
commit 47cd3a49c1

View file

@ -105,10 +105,49 @@ all:
localhost:
ansible_connection: local
infrastructure:
hosts:
wireguard_server:
ansible_host: wg.example.com
radius_server:
ansible_host: radius.example.com
# PC-Rooms
R016:
hosts:
r016pc[01:30]
# Set primary screen on teacher-pc to HDMI-A-1
# and sound output to analog-stereo
r016pc80:
dual_screen: [HDMI-3, HDMI-A-1]
audio_output: [pci-0000_00_1b.0, analog-stereo]
R115:
hosts:
r115pc[01:25]
PCroom:
children:
R016:
R115:
R117:
vars:
sudo_permissions:
"%role-teacher":
- /usr/bin/journalctl --since today
exam_destination_allowed_ipv4:
- 10.1.1.0/24
- 10.1.2.0/24
- 10.1.4.0/24
- 192.168.122.0/24
# Laptops
laptops:
children:
teacherlaptop: # teacherlaptops will get laptop vars too
hosts:
nb[001:999]:
vars:
## Activate WLAN and select authentication mode (see: doc/wlan.md)
wlan: psk # (none|psk|eap-tls)
@ -120,8 +159,10 @@ laptops:
localuser: guest
localuser_password: !unsafe Muster!
# Teacherdevices
teacherlaptop:
hosts:
nbt[001:999]:
vars:
exam_mode: false
# vpn: wg