summaryrefslogtreecommitdiffstats
path: root/roles/openshift_preflight/verify_status/tasks/main.yml
blob: 36ccf648a6fb8ac5e2446aadcbae3e2e9d127ff9 (plain)
1
2
3
4
5
6
7
8
---
- name: find check failures
  set_fact:
    oo_preflight_check_failures: "{{ oo_preflight_check_results | select('failed', 'equalto', True) | list }}"

- name: ensure all checks succeed
  action: fail
  when: oo_preflight_check_failures