summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/pre
diff options
context:
space:
mode:
authorjuanvallejo <jvallejo@redhat.com>2017-06-06 12:41:49 -0400
committerjuanvallejo <jvallejo@redhat.com>2017-07-26 19:00:36 -0400
commit5d03e56e3befb1182834d9ca3020fc53b8590f3f (patch)
treeb618d9d9290a58a0463b7e7f12e1674e9ea0e27f /playbooks/common/openshift-cluster/upgrades/pre
parent1cd89648269a483d464caef3f700b10cf68ea1c4 (diff)
downloadopenshift-5d03e56e3befb1182834d9ca3020fc53b8590f3f.tar.gz
openshift-5d03e56e3befb1182834d9ca3020fc53b8590f3f.tar.bz2
openshift-5d03e56e3befb1182834d9ca3020fc53b8590f3f.tar.xz
openshift-5d03e56e3befb1182834d9ca3020fc53b8590f3f.zip
add pre-flight checks to ugrade path
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/pre')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml b/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
new file mode 100644
index 000000000..497709d25
--- /dev/null
+++ b/playbooks/common/openshift-cluster/upgrades/pre/verify_health_checks.yml
@@ -0,0 +1,13 @@
+---
+- name: Verify Host Requirements
+ hosts: oo_all_hosts
+ roles:
+ - openshift_health_checker
+ vars:
+ - r_openshift_health_checker_playbook_context: upgrade
+ post_tasks:
+ - action: openshift_health_check
+ args:
+ checks:
+ - disk_availability
+ - memory_availability