Steven, I also have this requirement. Were you able to come up with a 
solution?

On Tuesday, September 9, 2014 at 6:09:31 PM UTC-4, Steven Ringo wrote:
>
> 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/cc80f3e6-c61d-411b-b76a-6c0791a606f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to