Merge "Stop upgrade if a task on one node fails"
This commit is contained in:
commit
2b9e5d412d
@ -662,6 +662,7 @@ outputs:
|
|||||||
name: Run update
|
name: Run update
|
||||||
serial: 1
|
serial: 1
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
any_errors_fatal: yes
|
||||||
vars:
|
vars:
|
||||||
container_cli: CONTAINER_CLI
|
container_cli: CONTAINER_CLI
|
||||||
tasks:
|
tasks:
|
||||||
@ -765,6 +766,7 @@ outputs:
|
|||||||
name: Run pre-upgrade rolling tasks
|
name: Run pre-upgrade rolling tasks
|
||||||
serial: 1
|
serial: 1
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
any_errors_fatal: yes
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: pre_upgrade_rolling_steps_tasks.yaml
|
- include_tasks: pre_upgrade_rolling_steps_tasks.yaml
|
||||||
with_sequence: start=0 end={{pre_upgrade_rolling_steps_max-1}}
|
with_sequence: start=0 end={{pre_upgrade_rolling_steps_max-1}}
|
||||||
@ -783,6 +785,7 @@ outputs:
|
|||||||
CONTAINER_CLI: {get_param: ContainerCli}
|
CONTAINER_CLI: {get_param: ContainerCli}
|
||||||
template: |
|
template: |
|
||||||
- hosts: DEPLOY_TARGET_HOST
|
- hosts: DEPLOY_TARGET_HOST
|
||||||
|
any_errors_fatal: yes
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: upgrade_steps_tasks.yaml
|
- include_tasks: upgrade_steps_tasks.yaml
|
||||||
with_sequence: start=0 end={{upgrade_steps_max-1}}
|
with_sequence: start=0 end={{upgrade_steps_max-1}}
|
||||||
@ -803,6 +806,7 @@ outputs:
|
|||||||
CONTAINER_CLI: {get_param: ContainerCli}
|
CONTAINER_CLI: {get_param: ContainerCli}
|
||||||
template: |
|
template: |
|
||||||
- hosts: DEPLOY_TARGET_HOST
|
- hosts: DEPLOY_TARGET_HOST
|
||||||
|
any_errors_fatal: yes
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: post_upgrade_steps_tasks.yaml
|
- include_tasks: post_upgrade_steps_tasks.yaml
|
||||||
with_sequence: start=0 end={{post_upgrade_steps_max-1}}
|
with_sequence: start=0 end={{post_upgrade_steps_max-1}}
|
||||||
@ -879,6 +883,7 @@ outputs:
|
|||||||
DEPLOY_TARGET_HOST: {get_param: deployment_target_hosts}
|
DEPLOY_TARGET_HOST: {get_param: deployment_target_hosts}
|
||||||
template: |
|
template: |
|
||||||
- hosts: DEPLOY_TARGET_HOST
|
- hosts: DEPLOY_TARGET_HOST
|
||||||
|
any_errors_fatal: yes
|
||||||
tasks:
|
tasks:
|
||||||
- set_fact:
|
- set_fact:
|
||||||
releases: {get_param: [FastForwardUpgradeReleases]}
|
releases: {get_param: [FastForwardUpgradeReleases]}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user