summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-06-12 11:46:48 +0200
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-08-24 14:55:09 +0200
commitf98c978bd49f2473ce271d4fc69be7e4eea78125 (patch)
tree861ce43d69348244fef6201f099407fd2abc151f /roles/openshift_health_checker
parentebf6ed8d3d467a95fe62c22f131c82882a34c3ad (diff)
downloadopenshift-f98c978bd49f2473ce271d4fc69be7e4eea78125.tar.gz
openshift-f98c978bd49f2473ce271d4fc69be7e4eea78125.tar.bz2
openshift-f98c978bd49f2473ce271d4fc69be7e4eea78125.tar.xz
openshift-f98c978bd49f2473ce271d4fc69be7e4eea78125.zip
Add playbook for running arbitrary health checks
This is useful on its own, and also aids in developing/testing new checks that are not part of any playbook. Since the intent when running this playbook is to execute checks, opt for a less verbose explanation on the error summary.
Diffstat (limited to 'roles/openshift_health_checker')
-rw-r--r--roles/openshift_health_checker/callback_plugins/zz_failure_summary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py b/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py
index d10200719..9f9fe123a 100644
--- a/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py
+++ b/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py
@@ -101,7 +101,7 @@ class CallbackModule(CallbackBase):
'Variables can be set in the inventory or passed on the\n'
'command line using the -e flag to ansible-playbook.\n\n'
).format(playbook=self._playbook_file, checks=checks)
- if context in ['pre-install', 'health']:
+ if context in ['pre-install', 'health', 'adhoc']:
summary = ( # user was expecting to run checks, less explanation needed
'\n'
'You may choose to configure or disable failing checks by\n'