From 0467496724b8875a5ba5fa95d07740aa51f6c780 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 8 Nov 2020 09:32:29 +0200 Subject: feat(unix_users): allow a user to be added to extra groups --- roles/unix_users/subplot.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/unix_users/subplot.yaml') diff --git a/roles/unix_users/subplot.yaml b/roles/unix_users/subplot.yaml index 10ac86c..bf7c4b9 100644 --- a/roles/unix_users/subplot.yaml +++ b/roles/unix_users/subplot.yaml @@ -12,3 +12,6 @@ - then: the user {username} on host has authorized_keys containing "{substring}" function: host_user_has_authorized_keys_containing + +- then: the user {username} on host is in group {group} + function: host_user_is_in_group -- cgit v1.2.1