---
- 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.