summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-05-25 15:16:32 -0400
committerGitHub <noreply@github.com>2017-05-25 15:16:32 -0400
commite8c8ed5404a4c0484a934f7f72a31532861f0d04 (patch)
tree3f27059d398c9ce074215c9651e7075593cf6541 /playbooks/byo
parenta353d4daf48f37eb95affcff0cf318d90c055e7a (diff)
parentda04b572777f43fc7a595e0960b66442c101cfce (diff)
downloadopenshift-e8c8ed5404a4c0484a934f7f72a31532861f0d04.tar.gz
openshift-e8c8ed5404a4c0484a934f7f72a31532861f0d04.tar.bz2
openshift-e8c8ed5404a4c0484a934f7f72a31532861f0d04.tar.xz
openshift-e8c8ed5404a4c0484a934f7f72a31532861f0d04.zip
Merge pull request #4161 from rhcarvalho/integrate-checks-with-install
Verify memory and disk requirements before install
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/openshift-cluster/config.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-cluster/config.yml b/playbooks/byo/openshift-cluster/config.yml
index acf5469bf..fd4a9eb26 100644
--- a/playbooks/byo/openshift-cluster/config.yml
+++ b/playbooks/byo/openshift-cluster/config.yml
@@ -3,6 +3,19 @@
tags:
- always
+- name: Verify Requirements
+ hosts: OSEv3
+ roles:
+ - openshift_health_checker
+ vars:
+ - r_openshift_health_checker_playbook_context: "install"
+ post_tasks:
+ - action: openshift_health_check
+ args:
+ checks:
+ - disk_availability
+ - memory_availability
+
- include: ../../common/openshift-cluster/std_include.yml
tags:
- always