diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-08 09:32:29 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-08 09:44:36 +0200 |
commit | 0467496724b8875a5ba5fa95d07740aa51f6c780 (patch) | |
tree | 21a218b35165a3a6025cc56e5f4ee93d8c3706fd /roles/unix_users/subplot.yaml | |
parent | edac7f326c8138d7377d595a3cf26f7f3d36b0fb (diff) | |
download | debian-ansible-0467496724b8875a5ba5fa95d07740aa51f6c780.tar.gz |
feat(unix_users): allow a user to be added to extra groups
Diffstat (limited to 'roles/unix_users/subplot.yaml')
-rw-r--r-- | roles/unix_users/subplot.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |