Name: "{{item.name}}"
Platform: "{{item.platform}}"
Attributes:
  PlatformCredential: "{{platform_credential.stdout|regex_replace('\n', 
'\\n')}}"
  PlatformPrincipal: "{{platform_principal.stdout|regex_replace('\n', '\\n')}}"


- debug:
    msg: "{{lookup('template', 
'create-platform-application.yml.j2')|from_yaml}}"




Any way to get around this without having to escape all values with possible 
newlines?

-- 
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/05fbd653-56c5-403b-881f-2fe010ba90c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to