summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-checks/health.yml
blob: c7766ff0462e5417d7ca8bb0b1a7b82e226f4640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# openshift_health_checker depends on openshift_version which now requires group eval.
- include: ../openshift-cluster/evaluate_groups.yml
  tags:
  - always

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