Manipulating Linux /etc/group group members.
Proposing a feature to add a capability of manipulating local Linux group members directly. This is also useful when a member of a group is managed elsewhere (e.g. users managed via LDAP, NIS to be added in a local /etc/group file). Linux command 'gpasswd' can be used to manipulate group members.
Example: lgroup1: luser1, luser2, ruser3
local group 'lgroup1' having a member users 'luser1' and 'luser2' those are defined in local /etc/passwd file and user 'ruser3' coming from LDAP.
I will submit a patch to modules.groupadd and states.group for a review. Currently tested for CentOS(RHEL) based distributions.
It seems odd to me that we wouldn't have had this before now.
Pull request #11108 submitted for review.
Bumping this issue
It appears this was implemented in #11108.