From 455cc18ace910be33ec0053b05591bb337233b0e Mon Sep 17 00:00:00 2001 From: Russell Teague Date: Thu, 12 Oct 2017 14:39:41 -0400 Subject: Ensure upgrade playbook exits on health check failures https://bugzilla.redhat.com/show_bug.cgi?id=1484324 --- .../common/openshift-cluster/upgrades/pre/verify_health_checks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'playbooks/common') 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 -- cgit v1.2.3