Fix templates for non root sudo_user
When using template module, if a restrictive umask is set, the sudo_user won't be able to read the /tmp/ansible-dir/source file after it is copied across following _transfer_str I wonder if this behaviour shouldn't be abstracted somehow (as this correction also happens after put_file in the copy module too)
Showing
Please
register
or
sign in
to comment