c377337673
When using boolean variables in conditional tests, those variables should be filtered as '|bool'. Otherwise, they are being evaluated as a string and return True in any case. Change-Id: I1e3642cb2d33d839e4808ae79ae991175e32dd0f Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
8 lines
206 B
YAML
8 lines
206 B
YAML
---
|
|
- name: Upgrade the overcloud
|
|
shell: >
|
|
set -o pipefail &&
|
|
{{ upgrade_working_dir }}/overcloud-upgrade.sh 2>&1 {{ timestamper_cmd }} >
|
|
{{ upgrade_log }}
|
|
when: step_upgrade_overcloud|bool
|