diff options
Diffstat (limited to 'playbooks/common/openshift-cluster/config.yml')
-rw-r--r-- | playbooks/common/openshift-cluster/config.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/playbooks/common/openshift-cluster/config.yml b/playbooks/common/openshift-cluster/config.yml index 76ca067e7..e0710e549 100644 --- a/playbooks/common/openshift-cluster/config.yml +++ b/playbooks/common/openshift-cluster/config.yml @@ -1,14 +1,17 @@ --- # TODO: refactor this into its own include # and pass a variable for ctx -- name: Verify Requirements +- name: Verify Install Requirements hosts: oo_all_hosts roles: - openshift_health_checker vars: - r_openshift_health_checker_playbook_context: install post_tasks: - - action: openshift_health_check + + - name: Verify Requirements - EL + when: ansible_distribution != "Fedora" + action: openshift_health_check args: checks: - disk_availability @@ -17,6 +20,12 @@ - package_version - docker_image_availability - docker_storage + - name: Verify Requirements - Fedora + when: ansible_distribution == "Fedora" + action: openshift_health_check + args: + checks: + - docker_image_availability - include: ../openshift-etcd/config.yml |