Fix when condition for role execution

Add the missing bool filter to the boolean variables
for role execution. Without it string "true" and
"false" are considered true.

Change-Id: I085942ff0a706c5de9bc7abfbd6ed576e3b8fcf8
This commit is contained in:
yatinkarel 2023-10-10 18:56:22 +05:30
parent 6b19d3a7fc
commit 4822357e2b
1 changed files with 5 additions and 5 deletions

View File

@ -10,14 +10,14 @@
- osp_version
- browbeat
- stockpile
- { role: browbeat-results, when: browbeat_results_in_httpd}
- { role: browbeat-results, when: browbeat_results_in_httpd|bool}
- firewall
- rally
- shaker
- { role: flavors, when: browbeat_create_flavors}
- { role: images, when: browbeat_upload_guest_images}
- { role: workloads, when: install_browbeat_workloads}
- { role: e2e-benchmarking, when: install_e2e_benchmarking}
- { role: flavors, when: browbeat_create_flavors|bool}
- { role: images, when: browbeat_upload_guest_images|bool}
- { role: workloads, when: install_browbeat_workloads|bool}
- { role: e2e-benchmarking, when: install_e2e_benchmarking|bool}
environment: "{{proxy_env}}"
- hosts: Controller*, Compute*