Hi,

We are running a system where the default umask is 0077.

When installing a system-wide rubygem (as root), for example, the installed 
files and executables are installed with rights for the root user only.

I would like to avoid trying to manually find and set the mode on all the 
files installed, as there are many (200+) and in quite a few locations.

I could manually change the .profile’s umask to 0022 and then manually 
revert when done, but this seems like a hack.

Is there any way to run the umask command before an ansible module?

Many thanks,

Steve

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5cefbe21-ad32-488c-bd7f-207107116b48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to