summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/config.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-10-12 14:50:15 -0400
committerRussell Teague <rteague@redhat.com>2017-10-12 14:50:15 -0400
commitc66536bc27db98232ba1e231cfdee48a72936d5b (patch)
treeadab4ca4090e3cfcffdb1e97b73241c620f7b7bc /playbooks/common/openshift-cluster/config.yml
parent45725a38dd8ee6db16a89144f1e14c30f98440b8 (diff)
downloadopenshift-c66536bc27db98232ba1e231cfdee48a72936d5b.tar.gz
openshift-c66536bc27db98232ba1e231cfdee48a72936d5b.tar.bz2
openshift-c66536bc27db98232ba1e231cfdee48a72936d5b.tar.xz
openshift-c66536bc27db98232ba1e231cfdee48a72936d5b.zip
Refactor health check playbooks
- Standardize play/tasks naming - Move install checks to separate playbook with checkpointing - Correct 'docker_storage' tags
Diffstat (limited to 'playbooks/common/openshift-cluster/config.yml')
-rw-r--r--playbooks/common/openshift-cluster/config.yml28
1 files changed, 1 insertions, 27 deletions
diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml
index dbe09dce2..3fbc6ef25 100644
--- a/playbooks/common/openshift-cluster/config.yml
+++ b/playbooks/common/openshift-cluster/config.yml
@@ -1,31 +1,5 @@
---
-# TODO: refactor this into its own include
-# and pass a variable for ctx
-- name: Verify Requirements
- hosts: oo_all_hosts
- roles:
- - openshift_health_checker
- vars:
- - r_openshift_health_checker_playbook_context: install
- post_tasks:
-
- - name: Verify Requirements - EL
- when: ansible_distribution != "Fedora"
- action: openshift_health_check
- args:
- checks:
- - disk_availability
- - memory_availability
- - package_availability
- - package_version
- - docker_image_availability
- - docker_storage
- - name: Verify Requirements - Fedora
- when: ansible_distribution == "Fedora"
- action: openshift_health_check
- args:
- checks:
- - docker_image_availability
+- include: ../openshift-checks/install.yml
- include: ../openshift-etcd/config.yml