Is there any way to have nested escaping of jinja2 template?
replace:
path: /etc/my_file
regexp: '^my_var = ""'
replace: !unsafe "my_var = {{getv '/{{ variable}}/my_dir/my_file'}}"
I'd like to replace my_var = ""
with my_var = {{getv '/staging/my_dir/my_file'}}
In this case, {{getv}} shouldn't be templated (external parenthesis), but {{variable}} inside (internal parenthesis) should be.