hi , 

when doing this task :

 - name: rsync cms_tcl code to server
   synchronize:
     src=/home/user/code_checkout/cms_tcl
     dest=/var/www/wsgi/code recursive=yes

ansible hangs but i can see that the folder has been rsync'd correctly

GATHERING FACTS 
***************************************************************
<host> ESTABLISH CONNECTION FOR USER: user on PORT 22 TO host
<host> REMOTE_MODULE setup
<host> EXEC /bin/sh -c 'mkdir -p 
$HOME/.ansible/tmp/ansible-tmp-1412632555.94-137539659496075 && chmod a+rx 
$HOME/.ansible/tmp/ansible-tmp-1412632555.94-137539659496075 && echo 
$HOME/.ansible/tmp/ansible-tmp-1412632555.94-137539659496075'
<host> PUT /tmp/tmpBIAyoA TO 
/home/user/.ansible/tmp/ansible-tmp-1412632555.94-137539659496075/setup
<host> EXEC /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python 
/home/user/.ansible/tmp/ansible-tmp-1412632555.94-137539659496075/setup'
ok: [host]

TASK: [code-deploy | rsync cms_tcl code to server] ***********************
<127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p 
$HOME/.ansible/tmp/ansible-tmp-1412632556.27-122378061898864 && chmod a+rx 
$HOME/.ansible/tmp/ansible-tmp-1412632556.27-122378061898864 && echo 
$HOME/.ansible/tmp/ansible-tmp-1412632556.27-122378061898864']
<127.0.0.1> PUT /tmp/tmprgIgZr TO 
/home/user/.ansible/tmp/ansible-tmp-1412632556.27-122378061898864/synchronize
<127.0.0.1> EXEC ['/bin/sh', '-c', u'LANG=C LC_CTYPE=C /usr/bin/python 
/home/user/.ansible/tmp/ansible-tmp-1412632556.27-122378061898864/synchronize']



i then have to end it with Ctrl+c


when doing it for the second time it works ok (rsync has nothing to sync)

Thanks 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1885ce4b-f5c0-4993-9622-da2130ba4d2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to