diff options
author | juanvallejo <jvallejo@redhat.com> | 2017-06-06 12:41:49 -0400 |
---|---|---|
committer | juanvallejo <jvallejo@redhat.com> | 2017-08-02 09:54:06 -0400 |
commit | fc905cf14bbfc75e25a0a58fdb3c92f602ce9450 (patch) | |
tree | 41564f655bf5d553bfc03546074a9d94014753fc /playbooks/common/openshift-cluster/upgrades/pre | |
parent | bf0bf407479458206f48885e43d3e1d3a2eab6e1 (diff) | |
download | openshift-fc905cf14bbfc75e25a0a58fdb3c92f602ce9450.tar.gz openshift-fc905cf14bbfc75e25a0a58fdb3c92f602ce9450.tar.bz2 openshift-fc905cf14bbfc75e25a0a58fdb3c92f602ce9450.tar.xz openshift-fc905cf14bbfc75e25a0a58fdb3c92f602ce9450.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.yml | 13 |
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 |