Merge "migration: Fail task if executed script failed"
This commit is contained in:
commit
db9300ed11
@ -19,4 +19,3 @@
|
|||||||
shell: >
|
shell: >
|
||||||
{{ ovn_migration_temp_dir_del }}/delete-neutron-resources.sh 2>&1 >
|
{{ ovn_migration_temp_dir_del }}/delete-neutron-resources.sh 2>&1 >
|
||||||
{{ ovn_migration_temp_dir_del }}/delete-neutron-resources.sh.log
|
{{ ovn_migration_temp_dir_del }}/delete-neutron-resources.sh.log
|
||||||
changed_when: true
|
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
shell: >
|
shell: >
|
||||||
set -o pipefail &&
|
set -o pipefail &&
|
||||||
{{ ovn_migration_temp_dir }}/generate-ovn-extras.sh
|
{{ 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
|
- name: Updating the overcloud stack with OVN services
|
||||||
shell: >
|
shell: >
|
||||||
set -o pipefail &&
|
set -o pipefail &&
|
||||||
{{ overcloud_ovn_deploy_script }} 2>&1 > {{ overcloud_ovn_deploy_script }}.log
|
{{ overcloud_ovn_deploy_script }} 2>&1 > {{ overcloud_ovn_deploy_script }}.log
|
||||||
changed_when: true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user