ansible/ansible — pull request #1018 by willthames (2012-09-07 06:36:54+00:00)
Title: 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)