Hey All,

I just upgraded from 1.5.5 to 1.6.1 and am seeing the following error 
happen when trying to clone a repo:

failed: [w4.website.net] => {"failed": true, "item": "", "parsed": false}
invalid output was: Traceback (most recent call last):
  File "<stdin>", line 1911, in <module>
  File "<stdin>", line 503, in main
  File "<stdin>", line 184, in write_ssh_wrapper
  File "/usr/lib/python2.7/tempfile.py", line 300, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib/python2.7/tempfile.py", line 235, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 13] Permission denied: '/home/my_ansible_user/OKKarN'

My Ansible task for is as follows:

- name: copy code from repository
  sudo_user: my_git_user
  git: repo={{ git['repo_url'] }}
       dest={{ install_dir }}
       key_file="/home/my_git_user/.ssh/deploy.key"
       version={{ git['branch'] }}
       depth=1
       accept_hostkey=yes
  register: clone_result
  notify: restart php5-fpm

I see no reason why I'm now getting a permission denied error when I didn't 
before.

Any ideas?

Thanks!

James

-- 
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 
https://groups.google.com/d/msgid/ansible-project/d6b09b4c-6c68-4104-8871-e01de83a8e37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to