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 > <https://groups.google.com/d/msgid/ansible-project/b12ff89c-b1cd-4d00-be8d-5bfe54a1b10e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAMFyvFgVJP4Vum-JAXDAeGRayLUhoQuN4c1o4Guxc%2BfXx0NUEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
