Good morning. I am trying to run a test case where I can edit a users groups using a playbook in Ansible on CENTOS 6.7
Ansible version 1.9.2 currently installed.
After thorough research of other postes and the user module itself I dont see any ways to take a group out of a users profile only remove the user in entirety or add groups
We had a user lose a access level, so we have to deprecate his permission set to the wheel group until such time as he gains the required need to be back in the associated group. Below is the basic playbook I used to make the test case. I want to try it against my test case to remove the group before taking it to a live account status on our test range.