summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-10-12 14:39:41 -0400
committerRussell Teague <rteague@redhat.com>2017-10-12 14:40:18 -0400
commit455cc18ace910be33ec0053b05591bb337233b0e (patch)
tree7e7718b364d4fac638f70396c31c585e35aa2266 /playbooks/common/openshift-cluster/upgrades
parent45725a38dd8ee6db16a89144f1e14c30f98440b8 (diff)
downloadopenshift-455cc18ace910be33ec0053b05591bb337233b0e.tar.gz
openshift-455cc18ace910be33ec0053b05591bb337233b0e.tar.bz2
openshift-455cc18ace910be33ec0053b05591bb337233b0e.tar.xz
openshift-455cc18ace910be33ec0053b05591bb337233b0e.zip
Ensure upgrade playbook exits on health check failures
https://bugzilla.redhat.com/show_bug.cgi?id=1484324
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml b/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
index ad6325ca0..2a8de50a2 100644
--- a/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
+++ b/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
@@ -1,12 +1,14 @@
---
-- name: Verify Host Requirements
+- name: OpenShift Health Checks
hosts: oo_all_hosts
+ any_errors_fatal: true
roles:
- openshift_health_checker
vars:
- r_openshift_health_checker_playbook_context: upgrade
post_tasks:
- - action: openshift_health_check
+ - name: Run health checks (upgrade)
+ action: openshift_health_check
args:
checks:
- disk_availability