I need to pass certain strings with special characters like $ to variables.
I was able to parse by providing the values in single quotes or using \ when
the string contains a single $ .
Ex below x is my variable.
X : '${name}' --> this works.
But when my variable value is complex containing many $ in its value, it
doesn't parse it.
Example :
X : '${name} --loglevel = ${loglevel}, --type=${type}'
The above is a shortend version but actually has many $ in the same format like
above.
I tried using \ for every $ but it didn't help.
Is there a way to parse them ?
--
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/95e4d0ed-f6d7-4a60-b283-470a18273c79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.