Confirm that 1.6.10 fixes that. I wasted a lot of time before writing to the list. =)
From https://github.com/ansible/ansible/blob/v1.6.10/CHANGELOG.md#1610-and-the-cradle-will-rock---jul-25-2014 * Improved unicode handling when splitting args It is a regression in 1.6.9. On Fri, Jul 25, 2014 at 9:24 PM, James Cammarata <[email protected]> wrote: > Hi Anatoly, I believe I have a fix for this, if you'd like to test it out > (pushed to devel now): > > https://github.com/ansible/ansible/commit/3714c0742fe962d3593ae7b4d28c4c0b1f0c5771 > > This corrects the issue for me based on your sample above. > > > On Fri, Jul 25, 2014 at 11:35 AM, anatoly techtonik <[email protected]> > wrote: >> >> --- >> - hosts: localhost >> sudo: yes >> gather_facts: no >> tasks: >> - copy: content="1 2 3 4 " dest=/contents >> >> This playbook reduces all spaces to one: >> >> localhost$ ansible-playbook contents.yml >> >> PLAY [localhost] >> ************************************************************** >> >> TASK: [copy content="1 2 3 4 " dest=/contents] >> ************************** >> ok: [localhost] >> >> PLAY RECAP >> ******************************************************************** >> localhost : ok=1 changed=0 unreachable=0 >> failed=0 >> >> localhost$ cat /contents >> 1 2 3 4 localhost$ >> >> Why? And how to stop that? >> >> -- >> 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/b12ff89c-b1cd-4d00-be8d-5bfe54a1b10e%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/UADJhT4h1cw/unsubscribe. > To unsubscribe from this group and all its topics, 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/CAMFyvFgVJP4Vum-JAXDAeGRayLUhoQuN4c1o4Guxc%2BfXx0NUEA%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- anatoly t. -- 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/CAPkN8xKg0aiN9FyoTBD9vmPiGYa9-GVqrAW-QHCXj6WW8it63w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
