template lookup: jinja2_native has no effect if global is off (#76385)

This is documented behavior that was unintentionally changed in #75587.
pull/76524/head
Martin Krizek 3 years ago committed by GitHub
parent e56e47faa7
commit 37c80ea893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -103,7 +103,7 @@ class LookupModule(LookupBase):
# capture options
convert_data_p = self.get_option('convert_data')
lookup_template_vars = self.get_option('template_vars')
jinja2_native = self.get_option('jinja2_native')
jinja2_native = self.get_option('jinja2_native') and C.DEFAULT_JINJA2_NATIVE
variable_start_string = self.get_option('variable_start_string')
variable_end_string = self.get_option('variable_end_string')
comment_start_string = self.get_option('comment_start_string')

Loading…
Cancel
Save