summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-13 09:28:27 -0500
committerGitHub <noreply@github.com>2017-02-13 09:28:27 -0500
commitdb243097dabeaf8d3c5c906dd819e2f43fec891a (patch)
treee53937a8accdef9e13c5b0466ea1d195eab16d4f /playbooks
parent3921f01be97ccfbb54e11666ce3647774c3fdbb9 (diff)
parentc24b9acb9d04f9613dcc7423791d09f83ef03670 (diff)
downloadopenshift-db243097dabeaf8d3c5c906dd819e2f43fec891a.tar.gz
openshift-db243097dabeaf8d3c5c906dd819e2f43fec891a.tar.bz2
openshift-db243097dabeaf8d3c5c906dd819e2f43fec891a.tar.xz
openshift-db243097dabeaf8d3c5c906dd819e2f43fec891a.zip
Merge pull request #3234 from rhcarvalho/check-module
Replace multi-role checks with action-plugin-based checks
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/byo/openshift-preflight/check.yml39
1 files changed, 10 insertions, 29 deletions
diff --git a/playbooks/byo/openshift-preflight/check.yml b/playbooks/byo/openshift-preflight/check.yml
index 32673d01d..c5f05d0f0 100644
--- a/playbooks/byo/openshift-preflight/check.yml
+++ b/playbooks/byo/openshift-preflight/check.yml
@@ -1,31 +1,12 @@
---
- hosts: OSEv3
- roles:
- - openshift_preflight/init
-
-- hosts: OSEv3
- name: checks that apply to all hosts
- gather_facts: no
- ignore_errors: yes
- roles:
- - openshift_preflight/common
-
-- hosts: masters
- name: checks that apply to masters
- gather_facts: no
- ignore_errors: yes
- roles:
- - openshift_preflight/masters
-
-- hosts: nodes
- name: checks that apply to nodes
- gather_facts: no
- ignore_errors: yes
- roles:
- - openshift_preflight/nodes
-
-- hosts: OSEv3
- name: verify check results
- gather_facts: no
- roles:
- - openshift_preflight/verify_status
+ 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'