summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-05-11 15:13:10 +0200
committerLuke Meyer <lmeyer@redhat.com>2017-05-23 14:16:21 -0400
commitc8ec88b661133e05095d5b8310d15af36bb35f34 (patch)
treef8a371ca7f1c01ec4cc45ec34076f589b06fd955
parent0be5c329c0e6439752ebb9afb1422daf15fd79de (diff)
downloadopenshift-c8ec88b661133e05095d5b8310d15af36bb35f34.tar.gz
openshift-c8ec88b661133e05095d5b8310d15af36bb35f34.tar.bz2
openshift-c8ec88b661133e05095d5b8310d15af36bb35f34.tar.xz
openshift-c8ec88b661133e05095d5b8310d15af36bb35f34.zip
Verify memory and disk requirements before install
-rw-r--r--playbooks/byo/config.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/byo/config.yml b/playbooks/byo/config.yml
index 7d03914a2..050b271ca 100644
--- a/playbooks/byo/config.yml
+++ b/playbooks/byo/config.yml
@@ -1,2 +1,14 @@
---
+- name: Verify Requirements
+ # REVIEW: what's the proper group to use: OSEv3, g_all_hosts or something else?
+ hosts: OSEv3
+ roles:
+ - openshift_health_checker
+ post_tasks:
+ - action: openshift_health_check
+ args:
+ checks:
+ - disk_availability
+ - memory_availability
+
- include: openshift-cluster/config.yml