How to add a newline inside a string ?

Hello,

How can I add a new line to a parameter, for example:

fail: msg=“Error:\n {myoutput.stdout}”

\n is not working there and not clue in doc / internet search

Thank you for ansible !

Hello,

Just after publish this post, I discover that I can use a variable with “\n” as value and then use {{variable}}, and it works

Thanks !