summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-preflight/check.yml
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-04-27 13:09:08 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-05-22 15:13:15 -0400
commita1228a7c4acdb088fbf43c9a67b7eccf7ee67d07 (patch)
tree205410f3d7f759a094fc45054377db2d837e285f /playbooks/byo/openshift-preflight/check.yml
parent896a0c90b34217fab19160ea48c51f926fbcdeed (diff)
downloadopenshift-a1228a7c4acdb088fbf43c9a67b7eccf7ee67d07.tar.gz
openshift-a1228a7c4acdb088fbf43c9a67b7eccf7ee67d07.tar.bz2
openshift-a1228a7c4acdb088fbf43c9a67b7eccf7ee67d07.tar.xz
openshift-a1228a7c4acdb088fbf43c9a67b7eccf7ee67d07.zip
health check playbooks: relocate and expand
We are moving toward having adhoc post-install checks and so the "preflight" designation needs to be widened. Updated location to playbooks/byo/openshift-checks, added health check playbook, and updated README. Also included the certificate_expiry playbooks. Left behind symlinks and wrappers for existing checks. To conform with the direction of the rest of the repo, the openshift-checks playbooks are split into two directories, one under playbooks/common with the actual invocation and one under playbooks/byo for entrypoints that are just wrappers for the ones in common. Because the certificate_expiry playbooks are intended not just to be functional but to be examples that users modify, I did not split them similarly. That could happen later after discussion but for now I just left them whole under byo/openshift-checks/certificate_expiry.
Diffstat (limited to 'playbooks/byo/openshift-preflight/check.yml')
-rw-r--r--playbooks/byo/openshift-preflight/check.yml16
1 files changed, 2 insertions, 14 deletions
diff --git a/playbooks/byo/openshift-preflight/check.yml b/playbooks/byo/openshift-preflight/check.yml
index eb763221f..2e53452a6 100644
--- a/playbooks/byo/openshift-preflight/check.yml
+++ b/playbooks/byo/openshift-preflight/check.yml
@@ -1,15 +1,3 @@
---
-- include: ../openshift-cluster/initialize_groups.yml
-
-- name: Run OpenShift health checks
- # Temporarily reverting to OSEv3 until group standardization is complete
- hosts: OSEv3
- roles:
- - openshift_health_checker
- post_tasks:
- # NOTE: we need to use the old "action: name" syntax until
- # https://github.com/ansible/ansible/issues/20513 is fixed.
- - action: openshift_health_check
- args:
- checks:
- - '@preflight'
+# location is moved; this file remains so existing instructions keep working
+- include: ../openshift-checks/pre-install.yml