summaryrefslogtreecommitdiffstats
path: root/roles/openshift_preflight/common
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 /roles/openshift_preflight/common
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 'roles/openshift_preflight/common')
-rw-r--r--roles/openshift_preflight/common/meta/main.yml3
-rw-r--r--roles/openshift_preflight/common/tasks/main.yml21
2 files changed, 0 insertions, 24 deletions
diff --git a/roles/openshift_preflight/common/meta/main.yml b/roles/openshift_preflight/common/meta/main.yml
deleted file mode 100644
index 6f23cbf3b..000000000
--- a/roles/openshift_preflight/common/meta/main.yml
+++ /dev/null
@@ -1,3 +0,0 @@
----
-dependencies:
- - role: openshift_preflight/base
diff --git a/roles/openshift_preflight/common/tasks/main.yml b/roles/openshift_preflight/common/tasks/main.yml
deleted file mode 100644
index f1a4a160e..000000000
--- a/roles/openshift_preflight/common/tasks/main.yml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-# check content available on all hosts
-- when: not openshift.common.is_containerized | bool
- block:
-
- - name: determine if yum update will work
- action: check_yum_update
- register: r
-
- - set_fact:
- oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'determine if yum update will work'})] }}"
-
- - name: determine if expected version matches what is available
- aos_version:
- version: "{{ openshift_release }}"
- when:
- - deployment_type == "openshift-enterprise"
- register: r
-
- - set_fact:
- oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'determine if expected version matches what is available'})] }}"