Actually, I figured this out Instead of the value being referenced as:
value: %test% or value: '%test%' which I think did not work as well I put the value on the next line value: '%test%' And this works now as I needed. On Tuesday, February 12, 2019 at 9:32:13 AM UTC-5, Tuyen Nguyen wrote: > > Hi > > I am trying to set some environment variables to make the value start with > %, and I am getting errors. > > For example, if I wanted to set the TEMP environment to c:\temp > > and then I want to set the PATH environment variable to %TEMP% > > I am getting error "found character that cannot start any token" > > I assume this is because % is a special character and cannot be at the > beginning of a string. How do I get around this? > > Thanks in advance. > > Regards, > > -- 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/6ae5de1f-79fe-446e-b34c-3577b23cc75e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
