tripleo-quickstart-extras/roles/overcloud-upgrade/tasks/upgrade-overcloud.yml
Gael Chamoulaud c377337673 Fix unqualified Ansible boolean variables
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>
2017-04-05 16:25:53 +02:00

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