I changed remote_tmp to /tmp/.ansible/tmp for performance reasons. The 
directory is created as follows:

[tmp]$ ls -ld .ansible 
drwx------ 3 ec2-user ec2-user 4096 Mar  2 09:47 .ansible

When a different user attempts to write to the directory it fails:

"Authentication or permission failure. In some cases, you may have been able to 
authenticate and did not have permissions on the remote directory. Consider 
changing the remote temp path in ansible.cfg to a path rooted in \"/tmp\". 
Failed command was: ( umask 77 && mkdir -p \"` echo 

Shouldn't /tmp/.ansible be created with 766 permission? Am I going to have to 
chmod /tmp/.ansible in the playbook?

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to