If you need this a lot then you could even dedicate a filter to it.
For example, create a directory called 'filter_plugins' adjacent to your
playbook and then create a file called 'filters.py' that contains:
def embrace(string):
return '{' + string + '}'
class FilterModule(object):
def fil
Maybe try these expressions:
{{ '{' ~ lookup('ansible.builtin.env', 'QUALYS_ACTIVATIONID') ~ '}' }}
{{ '{' ~ lookup('ansible.builtin.env', 'QUALYS_CUSTOMERID') ~ '}' }}
On 11/4/23 10:35 PM, matthew Higgs wrote:
Hey. I am having a bit of trouble trying to convert a jinja template
because of th
Hey. I am having a bit of trouble trying to convert a jinja template
because of the some issues escaping curly braces. Consider this simple
jinja template that is currently returning an error:
activationID: {{{ lookup('ansible.builtin.env', 'QUALYS_ACTIVATIONID') }}}
CustomerID: {{{ lookup('an