From 2ba7d84b789ce018be9a33c1e8ee45c1e444b832 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Thu, 13 Jun 2024 09:12:48 +0200 Subject: [PATCH] Local default user disabled on teacherlaptops. --- lmn-client.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lmn-client.yml b/lmn-client.yml index 01a91c2..d53dbf6 100644 --- a/lmn-client.yml +++ b/lmn-client.yml @@ -389,7 +389,8 @@ roles: - role: lmn_wlan_iwd when: ansible_interfaces | select('search', 'wl.+') | first is defined - - lmn_localuser + - role: lmn_localuser + when: not (groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop) tasks: - name: Remove deprecated files and directories (laptop-class) file: