Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
How to add a newline inside a string ?
121 views
Skip to first unread message
Javier Barroso
unread,
Aug 21, 2014, 5:22:05 AM
8/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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 !
Javier Barroso
unread,
Aug 23, 2014, 4:13:05 AM
8/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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 !
Reply all
Reply to author
Forward
0 new messages