Merge "Use bool filter when checking use_default_templates var"

This commit is contained in:
Zuul 2020-09-10 14:59:37 +00:00 committed by Gerrit Code Review
commit 325d080583
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@
templates_dir: "{{ default_templates_dir }}" templates_dir: "{{ default_templates_dir }}"
when: use_default_templates|bool when: use_default_templates|bool
when: use_default_templates or source_url is not none when: use_default_templates|bool or source_url is not none
# If plan_environment is an absolute path, then # If plan_environment is an absolute path, then
# don't prepend the templates dir. Else prepend it. # don't prepend the templates dir. Else prepend it.