[ansible-project] Re: Using numeric uid in become_user

2017-08-10 Thread Gregory Morozov
To clarify - I suspect do not get pw_name in find result value probably because these users are virtual and retrieved from mysql by nscd daemon. However system and and all software sees these usernames just fine. -- You received this message because you are subscribed to the Google Groups

[ansible-project] Using numeric uid in become_user

2017-08-09 Thread Gregory Morozov
Hello, I am getting a file list using find module. For each file in the resulting list I need to perform certain action with become/become_user, user being the owner of the found file. However find module (I guess stat as well) does not return owner username, but only owner numerical UID. I