On 23 March 2013 02:13, Michael DeHaan <
michael...@gmail.com> wrote:
> Exactly.
>
> This is true, though it's also true that ansible will modify the user
> id if not set right -- which I believe you didn't want to do.
>
> That being said, this is pretty much what everyone wants.
>
> It ensures the system is in exactly the state you want it to be, not
> in two different states based on a pre-condition, and you are assured
> your infrastructure is more-or-less homogenous.
I agree with that in principle, but in practice I have servers with
differing gid and uids, and changing file permissions everywhere to
match a standardised gid/uid is not a workable solution. Over time,
its possible to recommission clean boxes after shuffling the workload,
but not right now.
I think maybe I can use facts to retrieve that and run a special
playlist to only create the user if missing perhaps. Then I could
leave the gid/uid out of the main playlist. Thanks everybody for the
helpful ideas.
A+
Dave