---
- hosts: OSEv3
  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'