Merge "migration: Fail task if executed script failed"

This commit is contained in:
Zuul 2022-06-08 00:03:27 +00:00 committed by Gerrit Code Review
commit db9300ed11
2 changed files with 2 additions and 3 deletions

View File

@ -19,4 +19,3 @@
shell: >
{{ ovn_migration_temp_dir_del }}/delete-neutron-resources.sh 2>&1 >
{{ ovn_migration_temp_dir_del }}/delete-neutron-resources.sh.log
changed_when: true

View File

@ -15,10 +15,10 @@
shell: >
set -o pipefail &&
{{ ovn_migration_temp_dir }}/generate-ovn-extras.sh
changed_when: False
args:
creates: $HOME/ovn-extras.yaml
- name: Updating the overcloud stack with OVN services
shell: >
set -o pipefail &&
{{ overcloud_ovn_deploy_script }} 2>&1 > {{ overcloud_ovn_deploy_script }}.log
changed_when: true