summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/config.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-27 10:30:20 -0400
committerGitHub <noreply@github.com>2017-10-27 10:30:20 -0400
commit9fc3615db36806272973cbc480bfcce7b93709f9 (patch)
tree7f86b5a803645b3d331032b5dfcae198467bb93a /playbooks/common/openshift-cluster/config.yml
parentd645b81d0a60a682b0c488d0f9a08383542d659e (diff)
parentc66536bc27db98232ba1e231cfdee48a72936d5b (diff)
downloadopenshift-9fc3615db36806272973cbc480bfcce7b93709f9.tar.gz
openshift-9fc3615db36806272973cbc480bfcce7b93709f9.tar.bz2
openshift-9fc3615db36806272973cbc480bfcce7b93709f9.tar.xz
openshift-9fc3615db36806272973cbc480bfcce7b93709f9.zip
Merge pull request #5742 from mtnbikenc/refactor-checks
1504593 Refactor health check playbooks
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 395eb51f1..244787985 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