That's curious. If you still see this on the development branch, please file a bug on github at github.com/ansible/ansible with steps to reproduce.
On Fri, Feb 28, 2014 at 6:24 AM, Mehul Ved <[email protected]> wrote: > I was following rsync example from > https://github.com/ansible/ansible/pull/2508 to recursively transfer > files. I added following lines to my tasks > > > 1. - name: copy generic config files for freeswitch > 2. sudo: no > 3. local_action: command rsync -a files/conf root@{{ > ansible_ssh_host }}:/usr/local/share/freeswitch/ > > > It gave me following error: > > invalid output was: File > "/home/mehul/.ansible/tmp/ansible-1393604508.71-11919565258498/command", > line 475 > except OSError, e: > ^ > SyntaxError: invalid syntax > > > FATAL: all hosts have already failed -- aborting > > > I get the same error even if I change the local action to: > > > local_action: command echo "foo" > local_action: shell echo "foo" > > > > % python --version > Python 2.7.6 > > % pip freeze > > :( > Jinja2==2.7.2 > MarkupSafe==0.18 > MySQL-python==1.2.5 > PyYAML==3.10 > ansible==1.4.4 > ansible-shell==0.0.2 > ecdsa==0.10 > epdb==0.12 > httplib2==0.8 > paramiko==1.12.1 > pycrypto==2.6.1 > wsgiref==0.1.2 > > -- > 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/e3588f09-ba0b-4f74-9027-21c8c370aa72%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAEVJ8QPDNcBgCD%3DW3VPKBEmQSiHX3fAPS5Agr_rwWLkX6WBdgg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
