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 tried to use UID in become_user in the form of 
 "#{{ item.uid}}", but it did not work.
What is the best way to approach this?

Thanks
Gregory


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e7805cf9-a7aa-41b0-bb3d-93c92f6a197d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to