Skip to content

Instantly share code, notes, and snippets.

@mtpereira
Created January 30, 2014 17:55
Show Gist options
  • Save mtpereira/8714590 to your computer and use it in GitHub Desktop.
Save mtpereira/8714590 to your computer and use it in GitHub Desktop.
ansible devel synchronize error
TASK: [repo - sync local files with repo] *************************************
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1391102989.92-54417022812654 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1391102989.92-54417022812654 && echo $HOME/.ansible/tmp/ansible-tmp-1391102989.92-54417022812654']
<127.0.0.1> PUT /var/folders/zb/s_x416gj5fjgmyhjzhdl32dr0000gn/T/tmphuEBpz TO /Users/user/.ansible/tmp/ansible-tmp-1391102989.92-54417022812654/synchronize
<127.0.0.1> EXEC ['/bin/sh', '-c', '/usr/bin/python /Users/user/.ansible/tmp/ansible-tmp-1391102989.92-54417022812654/synchronize; rm -rf /Users/user/.ansible/tmp/ansible-tmp-1391102989.92-54417022812654/ >/dev/null 2>&1']
failed: [ansible-prm] => {"cmd": "rsync --delay-updates --compress --timeout=10 --rsh 'ssh -o StrictHostKeyChecking=no -o Port=2222' --out-format='<<CHANGED>>%i %n%L' files/repo/ /srv/repo", "failed": true, "item": "", "rc": 12}
msg: rsync: push_dir#3 "/srv" failed: No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at /SourceCache/rsync/rsync-42/rsync/main.c(580) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [sender=2.6.9]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment