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 “”, line 1911, in
File “”, line 503, in main
File “”, 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