summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-15 10:43:39 -0400
committerGitHub <noreply@github.com>2017-08-15 10:43:39 -0400
commit91eebf8eb0da4f4e4b90d7973544e4e1a3f3702f (patch)
tree162686661647fc20d7b5ed2d03bf5dcccc74e2b0
parent2dd904feeec57bcb46281a7066b26c140fadfef8 (diff)
parentd899b4b3af98ef5421006578dc0056450db5b7e5 (diff)
downloadopenshift-91eebf8eb0da4f4e4b90d7973544e4e1a3f3702f.tar.gz
openshift-91eebf8eb0da4f4e4b90d7973544e4e1a3f3702f.tar.bz2
openshift-91eebf8eb0da4f4e4b90d7973544e4e1a3f3702f.tar.xz
openshift-91eebf8eb0da4f4e4b90d7973544e4e1a3f3702f.zip
Merge pull request #5086 from mtnbikenc/remove-yum-check
Remove obsolete yum check
-rw-r--r--playbooks/common/openshift-cluster/initialize_openshift_version.yml19
1 files changed, 0 insertions, 19 deletions
diff --git a/playbooks/common/openshift-cluster/initialize_openshift_version.yml b/playbooks/common/openshift-cluster/initialize_openshift_version.yml
index f4e52869e..7112a6084 100644
--- a/playbooks/common/openshift-cluster/initialize_openshift_version.yml
+++ b/playbooks/common/openshift-cluster/initialize_openshift_version.yml
@@ -1,24 +1,5 @@
---
# NOTE: requires openshift_facts be run
-- name: Verify compatible yum/subscription-manager combination
- hosts: oo_all_hosts
- gather_facts: no
- tasks:
- # See:
- # https://bugzilla.redhat.com/show_bug.cgi?id=1395047
- # https://bugzilla.redhat.com/show_bug.cgi?id=1282961
- # https://github.com/openshift/openshift-ansible/issues/1138
- # Consider the repoquery module for this work
- - name: Check for bad combinations of yum and subscription-manager
- command: >
- {{ repoquery_cmd }} --installed --qf '%{version}' "yum"
- register: yum_ver_test
- changed_when: false
- when: not openshift.common.is_atomic | bool
- - fail:
- msg: Incompatible versions of yum and subscription-manager found. You may need to update yum and yum-utils.
- when: not openshift.common.is_atomic | bool and 'Plugin \"search-disabled-repos\" requires API 2.7. Supported API is 2.6.' in yum_ver_test.stdout
-
- name: Determine openshift_version to configure on first master
hosts: oo_first_master
roles: