---
- include: ../openshift-cluster/initialize_groups.yml

- hosts: g_all_hosts
  name: run OpenShift health checks
  roles:
    - openshift_health_checker
  post_tasks:
    # NOTE: we need to use the old "action: name" syntax until
    # https://github.com/ansible/ansible/issues/20513 is fixed.
    - action: openshift_health_check
      args:
        checks:
          - '@preflight'