mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
In the classic Jinja2's Environment str() is called on the return value of the
finalize method to potentially trigger the undefined error. That is not
the case in NativeEnvironment where string conversion of the return value is
not desired. We workaround that by checking for Undefined in all of our concat
functions. It seems simpler to do it earlier in the finalize method(s) instead.
As a side-effect it fixes an undefined variable detection in imported templates.
Fixes #78156
ci_complete
(cherry picked from commit
|
4 years ago | |
|---|---|---|
| .. | ||
| custom_tasks | 6 years ago | |
| files | 4 years ago | |
| meta | 7 years ago | |
| role_filter | 6 years ago | |
| tasks | 4 years ago | |
| templates | 4 years ago | |
| vars | ||
| 6653.yml | 5 years ago | |
| 72262.yml | 5 years ago | |
| 72615.yml | 4 years ago | |
| aliases | 4 years ago | |
| ansible_managed.cfg | ||
| ansible_managed.yml | 6 years ago | |
| corner_cases.yml | 4 years ago | |
| custom_template.yml | 7 years ago | |
| filter_plugins.yml | 7 years ago | |
| in_template_overrides.j2 | 4 years ago | |
| in_template_overrides.yml | 4 years ago | |
| runme.sh | 4 years ago | |
| template.yml | ||
| undefined_in_import-import.j2 | 4 years ago | |
| undefined_in_import.j2 | 4 years ago | |
| undefined_in_import.yml | 4 years ago | |
| undefined_var_info.yml | 5 years ago | |
| unsafe.yml | 4 years ago | |
| unused_vars_include.yml | 6 years ago | |