Explorar o código

Verify memory and disk requirements before install

Rodolfo Carvalho %!s(int64=8) %!d(string=hai) anos
pai
achega
c8ec88b661
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      playbooks/byo/config.yml

+ 12 - 0
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