summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster/config.yml
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-05-16 12:24:46 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-05-23 14:39:48 -0400
commit1d5d13308bd79051b0bf3311240ef0e6cb286392 (patch)
tree474d5ea04967bf7d746d43f7f7bc6ac65bfe24dd /playbooks/byo/openshift-cluster/config.yml
parent95df850e7df5b0afb2d7e759582ada6c6fab0df6 (diff)
downloadopenshift-1d5d13308bd79051b0bf3311240ef0e6cb286392.tar.gz
openshift-1d5d13308bd79051b0bf3311240ef0e6cb286392.tar.bz2
openshift-1d5d13308bd79051b0bf3311240ef0e6cb286392.tar.xz
openshift-1d5d13308bd79051b0bf3311240ef0e6cb286392.zip
health checks: configure failure output in playbooks
Customized the error summary to depend on the intent of the playbook run. Ensured output makes sense when failures are unrelated to running checks.
Diffstat (limited to 'playbooks/byo/openshift-cluster/config.yml')
-rw-r--r--playbooks/byo/openshift-cluster/config.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/config.yml b/playbooks/byo/openshift-cluster/config.yml
index acf5469bf..fd4a9eb26 100644
--- a/playbooks/byo/openshift-cluster/config.yml
+++ b/playbooks/byo/openshift-cluster/config.yml
@@ -3,6 +3,19 @@
tags:
- always
+- name: Verify Requirements
+ hosts: OSEv3
+ roles:
+ - openshift_health_checker
+ vars:
+ - r_openshift_health_checker_playbook_context: "install"
+ post_tasks:
+ - action: openshift_health_check
+ args:
+ checks:
+ - disk_availability
+ - memory_availability
+
- include: ../../common/openshift-cluster/std_include.yml
tags:
- always