I have a large, multi-line string that I would like to output in a role. 
 Currently I'm using the debug module like this:

- name: Cloud-init user_data
  debug:
    msg: "{{ cloudinit_user_data|indent(6) }}"

However this generates JSON output which is quite hard to read as newlines 
are represented as "\n" rather than an actual new line.  Is there a simple 
way to simply output a string as-is?

-- 
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/ea53aba8-c5c4-449b-875d-8440606426bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to