---
- hosts: OSEv3
  name: run OpenShift pre-install checks
  roles:
  - openshift_health_checker
  vars:
  - r_openshift_health_checker_playbook_context: "pre-install"
  post_tasks:
  - action: openshift_health_check  # https://github.com/ansible/ansible/issues/20513
    args:
      checks: ['@preflight']