diff --git a/inventory-sample.yml b/inventory-sample.yml index e12857e..f4140e3 100644 --- a/inventory-sample.yml +++ b/inventory-sample.yml @@ -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