Browse Source

Use bool filter when checking use_default_templates var

extra_vars are passed as strings in older ansible-runner versions
and would result in wrong boolean value.

This regression downstream has been caused by
https://review.opendev.org/#/c/737677/

Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1876999

Change-Id: Ie9119d2e6ac6b03c283a535b0445e83a2b564dbf
(cherry picked from commit 9ad422071b)
changes/88/751088/1
Rabi Mishra 2 weeks ago
committed by Emilien Macchi
parent
commit
f03177cc4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tripleo_ansible/playbooks/cli-create-deployment-plan.yaml

+ 1
- 1
tripleo_ansible/playbooks/cli-create-deployment-plan.yaml View File

@@ -88,7 +88,7 @@
templates_dir: "{{ default_templates_dir }}"
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
# don't prepend the templates dir. Else prepend it.


Loading…
Cancel
Save