ansible-aix / ansible-power-aix

Developer contributions for Ansible Automation on Power
GNU General Public License v3.0
3 stars 1 forks source link

user: use the provided prgrp ID #98

Open robinvy opened 3 years ago

robinvy commented 3 years ago

from: Stuart Cunliffe

When I use our user module to create a new user and pass it a prgrp ID and home directory, it appears to create the user first with the next primary group ID in sequence, then change the user to match the new primary group ID I passed. Although this looks fine from a user perspective it appears the home directory gets created when the prgp is the first number, not the one I selected. Other than I then change the home dir using another module to match the primary group ID, can we do this in the 'user' module?

See issue #57