How to ignore/escape variable interpolation?

I’m trying to find a way to ignore variable interpolation in a Task type - Remote Script: Unix.

There is a check box that says “ignore variable interpolation” but I want to be able to have some variable interpolated and others shouldn’t, if I check that box it ignores it for all the variables which is not helping.

image