Hello! I hope this is the correct mailing-list for this question . . . I’m writing a custom lookup function and would like to access group_vars from it. They seem to be passed to the run method of the LookupModule class as “variables”, the signature for the method looking like this:
def run(self, terms, variables=None, **kwargs)
This is good, except that the variables var is set with the “un-expanded” variables, so that if I have the following defined in my group_vars:
b: http://{{ a }}.com/asdff
I get http://{{ a }}.com/asdff instead of http://foo.com/asdff . . . anyone know how I can get the expanded var?
Thanks!!